Tomas Cohen Arazi
2b4cde96d5
This patch adds entries for: - Rotas - Circulation rules - Macros Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
36 lines
898 B
JSON
36 lines
898 B
JSON
{
|
|
"/circulation-rules/kinds": {
|
|
"get": {
|
|
"x-mojo-to": "CirculationRules#get_kinds",
|
|
"operationId": "getCirculationRuleKinds",
|
|
"tags": ["circulation_rules"],
|
|
"summary": "Get circulation rules kinds",
|
|
"produces": [
|
|
"application/json"
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "A map of rule kind information",
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"$ref": "../definitions.json#/circ-rule-kind"
|
|
}
|
|
}
|
|
},
|
|
"403": {
|
|
"description": "Access forbidden",
|
|
"schema": {
|
|
"$ref": "../definitions.json#/error"
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "Internal error",
|
|
"schema": {
|
|
"$ref": "../definitions.json#/error"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|