Lines 30-32
Link Here
|
30 |
description: Under maintenance |
30 |
description: Under maintenance |
31 |
schema: |
31 |
schema: |
32 |
$ref: "../swagger.yaml#/definitions/error" |
32 |
$ref: "../swagger.yaml#/definitions/error" |
|
|
33 |
/circulation-rules/{itemtype}/{library}/{category}: |
34 |
get: |
35 |
x-mojo-to: CirculationRules#list_effective_rules |
36 |
operationId: listCirculationRules |
37 |
tags: |
38 |
- circulation_rules |
39 |
summary: Get circulation rules for this item/library/patron combination |
40 |
produces: |
41 |
- application/json |
42 |
parameters: |
43 |
- name: itemtype |
44 |
in: path |
45 |
description: The itemtype |
46 |
required: true |
47 |
type: string |
48 |
- name: library |
49 |
in: path |
50 |
description: The library code |
51 |
required: true |
52 |
type: string |
53 |
- name: category |
54 |
in: path |
55 |
description: The patron category |
56 |
required: true |
57 |
type: string |
58 |
- name: rules |
59 |
in: query |
60 |
description: A comma-separated list of rule kinds |
61 |
type: array |
62 |
items: |
63 |
type: string |
64 |
collectionFormat: csv |
65 |
responses: |
66 |
"200": |
67 |
description: A list of rules for this itemtype, library and patron category combination |
68 |
schema: |
69 |
type: object |
70 |
"403": |
71 |
description: Access forbidden |
72 |
schema: |
73 |
$ref: "../swagger.yaml#/definitions/error" |
74 |
"500": |
75 |
description: | |
76 |
Internal server error. Possible `error_code` attribute values: |
77 |
|
78 |
* `internal_server_error` |
79 |
schema: |
80 |
$ref: "../swagger.yaml#/definitions/error" |
81 |
"503": |
82 |
description: Under maintenance |
83 |
schema: |
84 |
$ref: "../swagger.yaml#/definitions/error" |
85 |
x-koha-authorization: |
86 |
permissions: |
87 |
- circulate: circulate_remaining_permissions |