Line 0
Link Here
|
0 |
- |
1 |
{ |
|
|
2 |
"/availability/biblio/hold": { |
3 |
"get": { |
4 |
"operationId": "holdBiblioAvailability", |
5 |
"tags": ["items", "availability"], |
6 |
"parameters": [ |
7 |
{ "$ref": "../parameters.json#/biblionumbersQueryParam" }, |
8 |
{ "$ref": "../parameters.json#/borrowernumberQueryParam" }, |
9 |
{ "$ref": "../parameters.json#/branchcodeQueryParam"} |
10 |
], |
11 |
"consumes": ["application/json"], |
12 |
"produces": ["application/json"], |
13 |
"responses": { |
14 |
"200": { |
15 |
"description": "Hold availability information for items of biblio.", |
16 |
"schema": { |
17 |
"type": "array", |
18 |
"items": { "$ref": "../definitions.json#/availability~1biblio" } |
19 |
} |
20 |
}, |
21 |
"400": { |
22 |
"description": "Missing or invalid parameters", |
23 |
"schema": { |
24 |
"$ref": "../definitions.json#/error" |
25 |
} |
26 |
}, |
27 |
"401": { |
28 |
"description": "Authentication required", |
29 |
"schema": { |
30 |
"$ref": "../definitions.json#/error" |
31 |
} |
32 |
}, |
33 |
"403": { |
34 |
"description": "Forbidden", |
35 |
"schema": { |
36 |
"$ref": "../definitions.json#/error" |
37 |
} |
38 |
}, |
39 |
"500": { |
40 |
"description": "Internal server error", |
41 |
"schema": { |
42 |
"$ref": "../definitions.json#/error" |
43 |
} |
44 |
} |
45 |
} |
46 |
} |
47 |
}, |
48 |
"/availability/biblio/search": { |
49 |
"get": { |
50 |
"operationId": "searchBiblioAvailability", |
51 |
"tags": ["items", "availability"], |
52 |
"parameters": [ |
53 |
{ "$ref": "../parameters.json#/biblionumbersQueryParam" } |
54 |
], |
55 |
"consumes": ["application/json"], |
56 |
"produces": ["application/json"], |
57 |
"responses": { |
58 |
"200": { |
59 |
"description": "Availability information in search context for items of biblio.", |
60 |
"schema": { |
61 |
"type": "array", |
62 |
"items": { "$ref": "../definitions.json#/availability~1biblio" } |
63 |
} |
64 |
}, |
65 |
"400": { |
66 |
"description": "Missing or invalid parameters", |
67 |
"schema": { |
68 |
"$ref": "../definitions.json#/error" |
69 |
} |
70 |
}, |
71 |
"500": { |
72 |
"description": "Internal server error", |
73 |
"schema": { |
74 |
"$ref": "../definitions.json#/error" |
75 |
} |
76 |
} |
77 |
} |
78 |
} |
79 |
}, |
80 |
"/availability/item/checkout": { |
81 |
"get": { |
82 |
"operationId": "checkoutItemAvailability", |
83 |
"tags": ["items", "availability"], |
84 |
"parameters": [ |
85 |
{ "$ref": "../parameters.json#/itemnumbersQueryParam" }, |
86 |
{ "$ref": "../parameters.json#/borrowernumberQueryParam" } |
87 |
], |
88 |
"consumes": ["application/json"], |
89 |
"produces": ["application/json"], |
90 |
"responses": { |
91 |
"200": { |
92 |
"description": "Checkout availability information for specific item(s).", |
93 |
"schema": { |
94 |
"type": "array", |
95 |
"items": { "$ref": "../definitions.json#/availability~1item" } |
96 |
} |
97 |
}, |
98 |
"400": { |
99 |
"description": "Missing or invalid parameters", |
100 |
"schema": { |
101 |
"$ref": "../definitions.json#/error" |
102 |
} |
103 |
}, |
104 |
"401": { |
105 |
"description": "Authentication required", |
106 |
"schema": { |
107 |
"$ref": "../definitions.json#/error" |
108 |
} |
109 |
}, |
110 |
"403": { |
111 |
"description": "Forbidden", |
112 |
"schema": { |
113 |
"$ref": "../definitions.json#/error" |
114 |
} |
115 |
}, |
116 |
"500": { |
117 |
"description": "Internal server error", |
118 |
"schema": { |
119 |
"$ref": "../definitions.json#/error" |
120 |
} |
121 |
} |
122 |
} |
123 |
} |
124 |
}, |
125 |
"/availability/item/hold": { |
126 |
"get": { |
127 |
"operationId": "holdItemAvailability", |
128 |
"tags": ["items", "availability"], |
129 |
"parameters": [ |
130 |
{ "$ref": "../parameters.json#/itemnumbersQueryParam" }, |
131 |
{ "$ref": "../parameters.json#/borrowernumberQueryParam" }, |
132 |
{ "$ref": "../parameters.json#/branchcodeQueryParam"} |
133 |
], |
134 |
"consumes": ["application/json"], |
135 |
"produces": ["application/json"], |
136 |
"responses": { |
137 |
"200": { |
138 |
"description": "Hold availability information for specific item(s).", |
139 |
"schema": { |
140 |
"type": "array", |
141 |
"items": { "$ref": "../definitions.json#/availability~1item" } |
142 |
} |
143 |
}, |
144 |
"400": { |
145 |
"description": "Missing or invalid parameters", |
146 |
"schema": { |
147 |
"$ref": "../definitions.json#/error" |
148 |
} |
149 |
}, |
150 |
"401": { |
151 |
"description": "Authentication required", |
152 |
"schema": { |
153 |
"$ref": "../definitions.json#/error" |
154 |
} |
155 |
}, |
156 |
"403": { |
157 |
"description": "Forbidden", |
158 |
"schema": { |
159 |
"$ref": "../definitions.json#/error" |
160 |
} |
161 |
}, |
162 |
"500": { |
163 |
"description": "Internal server error", |
164 |
"schema": { |
165 |
"$ref": "../definitions.json#/error" |
166 |
} |
167 |
} |
168 |
} |
169 |
} |
170 |
}, |
171 |
"/availability/item/search": { |
172 |
"get": { |
173 |
"operationId": "searchItemAvailability", |
174 |
"tags": ["items", "availability"], |
175 |
"parameters": [ |
176 |
{ "$ref": "../parameters.json#/itemnumbersQueryParam" } |
177 |
], |
178 |
"consumes": ["application/json"], |
179 |
"produces": ["application/json"], |
180 |
"responses": { |
181 |
"200": { |
182 |
"description": "Availability information in search context for specific item(s).", |
183 |
"schema": { |
184 |
"type": "array", |
185 |
"items": { "$ref": "../definitions.json#/availability~1item" } |
186 |
} |
187 |
}, |
188 |
"400": { |
189 |
"description": "Missing or invalid parameters", |
190 |
"schema": { |
191 |
"$ref": "../definitions.json#/error" |
192 |
} |
193 |
}, |
194 |
"500": { |
195 |
"description": "Internal server error", |
196 |
"schema": { |
197 |
"$ref": "../definitions.json#/error" |
198 |
} |
199 |
} |
200 |
} |
201 |
} |
202 |
} |
203 |
} |