4 "x-mojo-to": "Library#list",
5 "operationId": "listLibrary",
10 "description": "Case insensitive 'starts-with' search on name",
14 "name": "branchaddress1",
16 "description": "Case insensitive 'starts-with' search on address1",
20 "name": "branchaddress2",
22 "description": "Case insensitive 'starts-with' search on address2",
26 "name": "branchaddress3",
28 "description": "Case insensitive 'starts-with' search on address3",
34 "description": "Case insensitive 'starts-with' search on zipcode",
40 "description": "Case insensitive 'starts-with' search on city",
44 "name": "branchstate",
46 "description": "Case insensitive 'starts-with' search on state",
50 "name": "branchcountry",
52 "description": "Case insensitive 'starts_with' search on country",
56 "name": "branchphone",
58 "description": "Case insensitive 'starts_with' search on phone number",
64 "description": "Case insensitive 'starts_with' search on fax number",
68 "name": "branchemail",
70 "description": "Case insensitive 'starts_with' search on email address",
74 "name": "branchreplyto",
76 "description": "Case insensitive 'starts_with' search on Reply-To email address",
80 "name": "branchreturnpath",
82 "description": "Case insensitive 'starts_with' search on Return-Path email address",
88 "description": "Case insensitive 'starts_with' search on website URL",
94 "description": "Unused in Koha",
100 "description": "Case insensitive 'starts_with' search on IP address",
104 "name": "branchprinter",
106 "description": "Unused in Koha",
110 "name": "branchnotes",
112 "description": "Case insensitive 'starts_with' search on notes",
118 "description": "Case insensitive 'starts-with' search on OPAC info",
127 "description": "A list of libraries",
131 "$ref": "../definitions.json#/library"
136 "description": "Internal error",
138 "$ref": "../definitions.json#/error"
142 "description": "Under maintenance",
144 "$ref": "../definitions.json#/error"
150 "x-mojo-to": "Library#add",
151 "operationId": "addLibrary",
156 "description": "A JSON object containing informations about the new library",
159 "$ref": "../definitions.json#/library"
167 "description": "Library added",
169 "$ref": "../definitions.json#/library"
173 "description": "Bad request",
175 "$ref": "../definitions.json#/error"
179 "description": "Authentication required",
181 "$ref": "../definitions.json#/error"
185 "description": "Access forbidden",
187 "$ref": "../definitions.json#/error"
191 "description": "Internal error",
193 "$ref": "../definitions.json#/error"
197 "description": "Under maintenance",
199 "$ref": "../definitions.json#/error"
203 "x-koha-authorization": {
205 "parameters": "parameters_remaining_permissions"
210 "/libraries/{branchcode}": {
212 "x-mojo-to": "Library#get",
213 "operationId": "getLibrary",
217 "$ref": "../parameters.json#/branchcodePathParam"
225 "description": "A library",
227 "$ref": "../definitions.json#/library"
231 "description": "Library not found",
233 "$ref": "../definitions.json#/error"
239 "x-mojo-to": "Library#update",
240 "operationId": "updateLibrary",
243 "$ref": "../parameters.json#/branchcodePathParam"
247 "description": "A JSON object containing information on the library",
250 "$ref": "../definitions.json#/library"
261 "description": "A library",
263 "$ref": "../definitions.json#/library"
267 "description": "Bad request",
269 "$ref": "../definitions.json#/error"
273 "description": "Authentication required",
275 "$ref": "../definitions.json#/error"
279 "description": "Access forbidden",
281 "$ref": "../definitions.json#/error"
285 "description": "Library not found",
287 "$ref": "../definitions.json#/error"
291 "description": "Internal error",
293 "$ref": "../definitions.json#/error"
297 "description": "Under maintenance",
299 "$ref": "../definitions.json#/error"
303 "x-koha-authorization": {
305 "parameters": "parameters_remaining_permissions"
310 "x-mojo-to": "Library#delete",
311 "operationId": "deleteLibrary",
314 "$ref": "../parameters.json#/branchcodePathParam"
321 "description": "Library deleted",
322 "schema": { "type": "string" }
325 "description": "Authentication required",
327 "$ref": "../definitions.json#/error"
331 "description": "Access forbidden",
333 "$ref": "../definitions.json#/error"
337 "description": "Library not found",
339 "$ref": "../definitions.json#/error"
343 "description": "Internal error",
345 "$ref": "../definitions.json#/error"
349 "description": "Under maintenance",
351 "$ref": "../definitions.json#/error"
355 "x-koha-authorization": {
357 "parameters": "parameters_remaining_permissions"