Lines 132-136
Link Here
|
132 |
} |
132 |
} |
133 |
} |
133 |
} |
134 |
} |
134 |
} |
|
|
135 |
}, |
136 |
"/public/biblios/{biblio_id}": { |
137 |
"get": { |
138 |
"x-mojo-to": "Biblios#get_public", |
139 |
"operationId": "getBiblioPublic", |
140 |
"tags": [ |
141 |
"biblios" |
142 |
], |
143 |
"parameters": [ |
144 |
{ |
145 |
"$ref": "../parameters.json#/biblio_id_pp" |
146 |
} |
147 |
], |
148 |
"produces": [ |
149 |
"application/marcxml+xml", |
150 |
"application/marc-in-json", |
151 |
"application/marc", |
152 |
"text/plain" |
153 |
], |
154 |
"responses": { |
155 |
"200": { |
156 |
"description": "A biblio" |
157 |
}, |
158 |
"401": { |
159 |
"description": "Authentication required", |
160 |
"schema": { |
161 |
"$ref": "../definitions.json#/error" |
162 |
} |
163 |
}, |
164 |
"403": { |
165 |
"description": "Access forbidden", |
166 |
"schema": { |
167 |
"$ref": "../definitions.json#/error" |
168 |
} |
169 |
}, |
170 |
"404": { |
171 |
"description": "Biblio not found", |
172 |
"schema": { |
173 |
"$ref": "../definitions.json#/error" |
174 |
} |
175 |
}, |
176 |
"406": { |
177 |
"description": "Not acceptable", |
178 |
"schema": { |
179 |
"type": "array", |
180 |
"description": "Accepted content-types", |
181 |
"items": { |
182 |
"type": "string" |
183 |
} |
184 |
} |
185 |
}, |
186 |
"500": { |
187 |
"description": "Internal server error", |
188 |
"schema": { |
189 |
"$ref": "../definitions.json#/error" |
190 |
} |
191 |
}, |
192 |
"503": { |
193 |
"description": "Under maintenance", |
194 |
"schema": { |
195 |
"$ref": "../definitions.json#/error" |
196 |
} |
197 |
} |
198 |
} |
199 |
} |
135 |
} |
200 |
} |
136 |
} |
201 |
} |
137 |
- |
|
|