Lines 91-96
Link Here
|
91 |
circulate: circulate_remaining_permissions |
91 |
circulate: circulate_remaining_permissions |
92 |
x-koha-embed: |
92 |
x-koha-embed: |
93 |
- issuer |
93 |
- issuer |
|
|
94 |
- renewals |
94 |
"/checkouts/{checkout_id}/renewal": |
95 |
"/checkouts/{checkout_id}/renewal": |
95 |
post: |
96 |
post: |
96 |
x-mojo-to: Checkouts#renew |
97 |
x-mojo-to: Checkouts#renew |
Lines 130-135
Link Here
|
130 |
x-koha-authorization: |
131 |
x-koha-authorization: |
131 |
permissions: |
132 |
permissions: |
132 |
circulate: circulate_remaining_permissions |
133 |
circulate: circulate_remaining_permissions |
|
|
134 |
"/checkouts/{checkout_id}/renewals": |
135 |
get: |
136 |
x-mojo-to: Checkouts#get_renewals |
137 |
operationId: getRenewals |
138 |
tags: |
139 |
- checkouts |
140 |
summary: List renewals for a checkout |
141 |
parameters: |
142 |
- $ref: ../parameters.yaml#/checkout_id_pp |
143 |
produces: |
144 |
- application/json |
145 |
responses: |
146 |
"200": |
147 |
description: List of checkouts renewals |
148 |
schema: |
149 |
$ref: ../definitions.yaml#/renewal |
150 |
"403": |
151 |
description: Access forbidden |
152 |
schema: |
153 |
$ref: ../definitions.yaml#/error |
154 |
"404": |
155 |
description: Checkout not found |
156 |
schema: |
157 |
$ref: ../definitions.yaml#/error |
158 |
"500": |
159 |
description: | |
160 |
Internal server error. Possible `error_code` attribute values: |
161 |
|
162 |
* `internal_server_error` |
163 |
schema: |
164 |
$ref: ../definitions.yaml#/error |
165 |
"503": |
166 |
description: Under maintenance |
167 |
schema: |
168 |
$ref: ../definitions.yaml#/error |
169 |
x-koha-authorization: |
170 |
permissions: |
171 |
circulate: circulate_remaining_permissions |
172 |
x-koha-embed: |
173 |
- renewer |
133 |
"/checkouts/{checkout_id}/allows_renewal": |
174 |
"/checkouts/{checkout_id}/allows_renewal": |
134 |
get: |
175 |
get: |
135 |
x-mojo-to: Checkouts#allows_renewal |
176 |
x-mojo-to: Checkouts#allows_renewal |
136 |
- |
|
|