18570614c4
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>
35 lines
839 B
JSON
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"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|