-
Notifications
You must be signed in to change notification settings - Fork 55
/
os-image-schemas-2.2.wadl
156 lines (149 loc) · 6.49 KB
/
os-image-schemas-2.2.wadl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
<?xml version="1.0" encoding="UTF-8"?>
<!-- (C) 2013 OpenStack Foundation, All Rights Reserved -->
<!--*******************************************************-->
<!-- Import Common XML Entities -->
<!-- -->
<!-- You can resolve the entites with xmllint -->
<!-- -->
<!-- xmllint -noent os-image-schemas-2.2.wadl -->
<!--*******************************************************-->
<!DOCTYPE application [<!ENTITY % common SYSTEM "common.ent">
%common;]>
<application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsdxt="http://docs.rackspacecloud.com/xsd-ext/v1.0"
xmlns="http://wadl.dev.java.net/2009/02"
xmlns:wadl="http://wadl.dev.java.net/2009/02"
xmlns:imageapi="http://docs.openstack.org/image/api/v2.2"
xmlns:common="http://docs.openstack.org/common/api/v1.0"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:csapi="http://docs.openstack.org/compute/api/v2"
targetNamespace="http://docs.openstack.org/compute/api/v2"
xsi:schemaLocation="http://docs.openstack.org/compute/api/v2
xsd/api.xsd
http://docs.openstack.org/common/api/v1.0
xsd/api-common.xsd
">
<grammars>
<include href="xsd/api.xsd"/>
<include href="xsd/api-common.xsd"/>
<include href="xsd/faults.xsd"/>
</grammars>
<!--*******************************************************-->
<!-- All Resources -->
<!--*******************************************************-->
<resources base="https://glance.example.com/">
<resource id="info" path="v2">
<resource id="schemas" path="schemas">
<resource id="Image-schemas" type="#SchemasList"
path="images">
<method href="#getImagesSchema"/>
</resource>
<resource id="Image-schema" type="#SchemaList"
path="image">
<method href="#getImageSchema"/>
</resource>
<resource id="Image-members-schema" type="#SchemasList"
path="members">
<method href="#getImageMembersSchema"/>
</resource>
<resource id="Image-member-schema" type="#SchemaList"
path="member">
<method href="#getImageMemberSchema"/>
</resource>
</resource>
</resource>
</resources>
<!--*******************************************************-->
<!-- All Methods -->
<!--*******************************************************-->
<method name="GET" id="getImagesSchema">
<wadl:doc xml:lang="EN" xmlns="http://docbook.org/ns/docbook"
title="Get Images Schema">
<para role="shortdesc">Gets a json-schema document that
represents an images entity</para>
<para>An images entity is a container of image entities.
</para>
<para>The schema below is solely an example. Only the
response to the API call should be considered
authoritative.
</para>
<para><emphasis>Since: Images 2.0</emphasis></para>
</wadl:doc>
<response status="200">
<representation mediaType="application/json">
<doc xml:lang="EN">
<xsdxt:code
href="samples/schemas-images-get-response.json"
/>
</doc>
</representation>
</response>
</method>
<method name="GET" id="getImageSchema">
<wadl:doc xml:lang="EN" xmlns="http://docbook.org/ns/docbook"
title="Get Image Schema">
<para role="shortdesc">Gets a json-schema document that
represents an image entity. </para>
<para>The schema below is solely an example. Only the
response to the API call should be considered
authoritative.
</para>
<para><emphasis>Since: Images 2.0</emphasis></para>
</wadl:doc>
<response status="200">
<representation mediaType="application/json">
<doc xml:lang="EN">
<xsdxt:code
href="samples/schemas-image-get-response.json"
/>
</doc>
</representation>
</response>
</method>
<method name="GET" id="getImageMembersSchema">
<wadl:doc xml:lang="EN" xmlns="http://docbook.org/ns/docbook"
title="Get Image Members Schema">
<para role="shortdesc">Gets a json-schema document that
represents an image members entity</para>
<para>An image members entity is a container of image
member entities.
</para>
<para>The schema below is solely an example. Only the
response to the API call should be considered
authoritative.
</para>
<para><emphasis>Since: Images 2.1</emphasis></para>
</wadl:doc>
<response status="200">
<representation mediaType="application/json">
<doc xml:lang="EN">
<xsdxt:code
href="samples/schemas-image-members-get-response.json"
/>
</doc>
</representation>
</response>
</method>
<method name="GET" id="getImageMemberSchema">
<wadl:doc xml:lang="EN" xmlns="http://docbook.org/ns/docbook"
title="Get Image Member Schema">
<para role="shortdesc">Gets a json-schema document that
represents an image member entity. </para>
<para>The schema below is solely an example. Only the
response to the API call should be considered
authoritative.
</para>
<para><emphasis>Since: Images 2.1</emphasis></para>
</wadl:doc>
<response status="200">
<representation mediaType="application/json">
<doc xml:lang="EN">
<xsdxt:code
href="samples/schemas-image-member-get-response.json"
/>
</doc>
</representation>
</response>
</method>
</application>