Koha/api/v1/swagger/paths/circulation-rules.json
Jesse Weaver 18570614c4
Bug 18936: (follow-up) Update REST definition for /.../kinds
Signed-off-by: Minna Kivinen <minna.kivinen@hamk.fi>
Signed-off-by: Joonas Kylmälä <joonas.kylmala@helsinki.fi>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2020-02-04 09:56:24 +00:00

35 lines
839 B
JSON

{
"/circulation-rules/kinds": {
"get": {
"x-mojo-to": "CirculationRules#get_kinds",
"operationId": "getCirculationRuleKinds",
"tags": ["cities"],
"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"
}
}
}
}
}
}