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

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