Lines 210-215
Link Here
|
210 |
x-koha-authorization: |
210 |
x-koha-authorization: |
211 |
permissions: |
211 |
permissions: |
212 |
editcatalogue: edit_catalogue |
212 |
editcatalogue: edit_catalogue |
|
|
213 |
"/catalog/concerns/{concern_id}/resolve": |
214 |
post: |
215 |
x-mojo-to: Catalog::Concerns#resolve |
216 |
operationId: resolveConcern |
217 |
tags: |
218 |
- concerns |
219 |
summary: Resolve the concern |
220 |
parameters: |
221 |
- $ref: "../swagger.yaml#/parameters/concern_id_pp" |
222 |
- name: body |
223 |
in: body |
224 |
description: A resolution object |
225 |
required: true |
226 |
schema: |
227 |
$ref: "../swagger.yaml#/definitions/resolution" |
228 |
produces: |
229 |
- application/json |
230 |
responses: |
231 |
"204": |
232 |
description: Concern resolved |
233 |
"401": |
234 |
description: Authentication required |
235 |
schema: |
236 |
$ref: "../swagger.yaml#/definitions/error" |
237 |
"403": |
238 |
description: Access forbidden |
239 |
schema: |
240 |
$ref: "../swagger.yaml#/definitions/error" |
241 |
"404": |
242 |
description: Concern not found |
243 |
schema: |
244 |
$ref: "../swagger.yaml#/definitions/error" |
245 |
"500": |
246 |
description: Internal error |
247 |
schema: |
248 |
$ref: "../swagger.yaml#/definitions/error" |
249 |
"503": |
250 |
description: Under maintenance |
251 |
schema: |
252 |
$ref: "../swagger.yaml#/definitions/error" |
253 |
x-koha-authorization: |
254 |
permissions: |
255 |
editcatalogue: edit_catalogue |
213 |
/public/catalog/concerns: |
256 |
/public/catalog/concerns: |
214 |
post: |
257 |
post: |
215 |
x-mojo-to: Catalog::Concerns#add |
258 |
x-mojo-to: Catalog::Concerns#add |