|
Lines 52-56
Link Here
|
| 52 |
} |
52 |
} |
| 53 |
} |
53 |
} |
| 54 |
} |
54 |
} |
|
|
55 |
}, |
| 56 |
"/ill_backends/{ill_backend_id}": { |
| 57 |
"get": { |
| 58 |
"x-mojo-to": "Illbackends#get", |
| 59 |
"operationId": "getIllbackends", |
| 60 |
"tags": ["illbackends"], |
| 61 |
"parameters": [ |
| 62 |
{ |
| 63 |
"name": "ill_backend_id", |
| 64 |
"in": "path", |
| 65 |
"description": "ILL backend id/name", |
| 66 |
"required": true, |
| 67 |
"type": "string" |
| 68 |
} |
| 69 |
], |
| 70 |
"produces": [ |
| 71 |
"application/json" |
| 72 |
], |
| 73 |
"responses": { |
| 74 |
"200": { |
| 75 |
"description": "An ILL backends", |
| 76 |
"schema": { |
| 77 |
"$ref": "../definitions.json#/ill_backend" |
| 78 |
} |
| 79 |
}, |
| 80 |
"401": { |
| 81 |
"description": "Authentication required", |
| 82 |
"schema": { |
| 83 |
"$ref": "../definitions.json#/error" |
| 84 |
} |
| 85 |
}, |
| 86 |
"403": { |
| 87 |
"description": "Access forbidden", |
| 88 |
"schema": { |
| 89 |
"$ref": "../definitions.json#/error" |
| 90 |
} |
| 91 |
}, |
| 92 |
"404": { |
| 93 |
"description": "ILL backends not found", |
| 94 |
"schema": { |
| 95 |
"$ref": "../definitions.json#/error" |
| 96 |
} |
| 97 |
}, |
| 98 |
"500": { |
| 99 |
"description": "Internal server error", |
| 100 |
"schema": { |
| 101 |
"$ref": "../definitions.json#/error" |
| 102 |
} |
| 103 |
}, |
| 104 |
"503": { |
| 105 |
"description": "Under maintenance", |
| 106 |
"schema": { |
| 107 |
"$ref": "../definitions.json#/error" |
| 108 |
} |
| 109 |
} |
| 110 |
}, |
| 111 |
"x-koha-authorization": { |
| 112 |
"permissions": { |
| 113 |
"ill": "1" |
| 114 |
} |
| 115 |
} |
| 116 |
} |
| 55 |
} |
117 |
} |
| 56 |
} |
118 |
} |
| 57 |
- |
|
|