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