|
Lines 112-117
Link Here
|
| 112 |
circulate: circulate_remaining_permissions |
112 |
circulate: circulate_remaining_permissions |
| 113 |
x-koha-embed: |
113 |
x-koha-embed: |
| 114 |
- issuer |
114 |
- issuer |
|
|
115 |
- renewals |
| 115 |
"/checkouts/{checkout_id}/renewal": |
116 |
"/checkouts/{checkout_id}/renewal": |
| 116 |
post: |
117 |
post: |
| 117 |
x-mojo-to: Checkouts#renew |
118 |
x-mojo-to: Checkouts#renew |
|
Lines 151-156
Link Here
|
| 151 |
x-koha-authorization: |
152 |
x-koha-authorization: |
| 152 |
permissions: |
153 |
permissions: |
| 153 |
circulate: circulate_remaining_permissions |
154 |
circulate: circulate_remaining_permissions |
|
|
155 |
"/checkouts/{checkout_id}/renewals": |
| 156 |
get: |
| 157 |
x-mojo-to: Checkouts#get_renewals |
| 158 |
operationId: getRenewals |
| 159 |
tags: |
| 160 |
- checkouts |
| 161 |
summary: List renewals for a checkout |
| 162 |
parameters: |
| 163 |
- $ref: ../parameters.yaml#/checkout_id_pp |
| 164 |
produces: |
| 165 |
- application/json |
| 166 |
responses: |
| 167 |
"200": |
| 168 |
description: List of checkouts renewals |
| 169 |
schema: |
| 170 |
$ref: ../definitions.yaml#/renewal |
| 171 |
"403": |
| 172 |
description: Access forbidden |
| 173 |
schema: |
| 174 |
$ref: ../definitions.yaml#/error |
| 175 |
"404": |
| 176 |
description: Checkout not found |
| 177 |
schema: |
| 178 |
$ref: ../definitions.yaml#/error |
| 179 |
"500": |
| 180 |
description: | |
| 181 |
Internal server error. Possible `error_code` attribute values: |
| 182 |
|
| 183 |
* `internal_server_error` |
| 184 |
schema: |
| 185 |
$ref: ../definitions.yaml#/error |
| 186 |
"503": |
| 187 |
description: Under maintenance |
| 188 |
schema: |
| 189 |
$ref: ../definitions.yaml#/error |
| 190 |
x-koha-authorization: |
| 191 |
permissions: |
| 192 |
circulate: circulate_remaining_permissions |
| 193 |
x-koha-embed: |
| 194 |
- renewer |
| 154 |
"/checkouts/{checkout_id}/allows_renewal": |
195 |
"/checkouts/{checkout_id}/allows_renewal": |
| 155 |
get: |
196 |
get: |
| 156 |
x-mojo-to: Checkouts#allows_renewal |
197 |
x-mojo-to: Checkouts#allows_renewal |
| 157 |
- |
|
|