Josef Moravec
81655e7dbf
Signed-off-by: Andrew Isherwood <andrew.isherwood@ptfs-europe.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
118 lines
3.6 KiB
JSON
118 lines
3.6 KiB
JSON
{
|
|
"/ill_backends": {
|
|
"get": {
|
|
"x-mojo-to": "Illbackends#list",
|
|
"operationId": "listIllbackends",
|
|
"tags": ["illbackends"],
|
|
"parameters": [],
|
|
"produces": [
|
|
"application/json"
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "A list of ILL backends",
|
|
"schema": {
|
|
"$ref": "../definitions.json#/ill_backends"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Authentication required",
|
|
"schema": {
|
|
"$ref": "../definitions.json#/error"
|
|
}
|
|
},
|
|
"403": {
|
|
"description": "Access forbidden",
|
|
"schema": {
|
|
"$ref": "../definitions.json#/error"
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "ILL backends not found",
|
|
"schema": {
|
|
"$ref": "../definitions.json#/error"
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "Internal server error",
|
|
"schema": {
|
|
"$ref": "../definitions.json#/error"
|
|
}
|
|
},
|
|
"503": {
|
|
"description": "Under maintenance",
|
|
"schema": {
|
|
"$ref": "../definitions.json#/error"
|
|
}
|
|
}
|
|
},
|
|
"x-koha-authorization": {
|
|
"permissions": {
|
|
"ill": "1"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/ill_backends/{ill_backend_id}": {
|
|
"get": {
|
|
"x-mojo-to": "Illbackends#get",
|
|
"operationId": "getIllbackends",
|
|
"tags": ["illbackends"],
|
|
"parameters": [
|
|
{
|
|
"name": "ill_backend_id",
|
|
"in": "path",
|
|
"description": "ILL backend id/name",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
],
|
|
"produces": [
|
|
"application/json"
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "An ILL backends",
|
|
"schema": {
|
|
"$ref": "../definitions.json#/ill_backend"
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Authentication required",
|
|
"schema": {
|
|
"$ref": "../definitions.json#/error"
|
|
}
|
|
},
|
|
"403": {
|
|
"description": "Access forbidden",
|
|
"schema": {
|
|
"$ref": "../definitions.json#/error"
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "ILL backends not found",
|
|
"schema": {
|
|
"$ref": "../definitions.json#/error"
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "Internal server error",
|
|
"schema": {
|
|
"$ref": "../definitions.json#/error"
|
|
}
|
|
},
|
|
"503": {
|
|
"description": "Under maintenance",
|
|
"schema": {
|
|
"$ref": "../definitions.json#/error"
|
|
}
|
|
}
|
|
},
|
|
"x-koha-authorization": {
|
|
"permissions": {
|
|
"ill": "1"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|