Koha-clms/api/v1/swagger/paths/circulation-rules.yaml

33 lines
867 B
YAML

---
/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.yaml#/circ-rule-kind
"403":
description: Access forbidden
schema:
$ref: ../definitions.yaml#/error
"500":
description: |
Internal server error. Possible `error_code` attribute values:
* `internal_server_error`
schema:
$ref: ../definitions.yaml#/error
"503":
description: Under maintenance
schema:
$ref: ../definitions.yaml#/error