2 /preservation/processings:
4 x-mojo-to: Preservation::Processings#list
5 operationId: listPreservationProcessings
7 - preservation_processing
8 summary: List processings
12 - description: Case insensitive search on processing id
17 - description: Case insensitive search on processing name
22 - $ref: "../swagger.yaml#/parameters/match"
23 - $ref: "../swagger.yaml#/parameters/order_by"
24 - $ref: "../swagger.yaml#/parameters/page"
25 - $ref: "../swagger.yaml#/parameters/per_page"
26 - $ref: "../swagger.yaml#/parameters/q_param"
27 - $ref: "../swagger.yaml#/parameters/q_body"
30 description: A list of processings
33 $ref: "../swagger.yaml#/definitions/preservation_processing"
36 description: Bad request
38 $ref: "../swagger.yaml#/definitions/error"
40 description: Access forbidden
42 $ref: "../swagger.yaml#/definitions/error"
45 Internal server error. Possible `error_code` attribute values:
46 * `internal_server_error`
48 $ref: "../swagger.yaml#/definitions/error"
50 description: Under maintenance
52 $ref: "../swagger.yaml#/definitions/error"
57 x-mojo-to: Preservation::Processings#add
58 operationId: addPreservationProcessings
60 - preservation_processing
61 summary: Add processing
67 - description: A JSON object containing information about the new processing
72 $ref: "../swagger.yaml#/definitions/preservation_processing"
75 description: A successfully created processing
78 $ref: "../swagger.yaml#/definitions/preservation_processing"
80 description: Bad parameter
82 $ref: "../swagger.yaml#/definitions/error"
84 description: Authentication required
86 $ref: "../swagger.yaml#/definitions/error"
88 description: Access forbidden
90 $ref: "../swagger.yaml#/definitions/error"
92 description: Ressource not found
94 $ref: "../swagger.yaml#/definitions/error"
96 description: Conflict in creating resource
98 $ref: "../swagger.yaml#/definitions/error"
100 description: Payload too large
102 $ref: "../swagger.yaml#/definitions/error"
105 Internal server error. Possible `error_code` attribute values:
106 * `internal_server_error`
108 $ref: "../swagger.yaml#/definitions/error"
110 description: Under maintenance
112 $ref: "../swagger.yaml#/definitions/error"
113 x-koha-authorization:
116 "/preservation/processings/{processing_id}":
118 x-mojo-to: Preservation::Processings#get
119 operationId: getPreservationProcessings
121 - preservation_processing
122 summary: Get processing
126 - $ref: "../swagger.yaml#/parameters/preservation_processing_id_pp"
130 description: Embed list sent as a request header
136 collectionFormat: csv
139 description: A processing
142 $ref: "../swagger.yaml#/definitions/preservation_processing"
144 description: Authentication required
146 $ref: "../swagger.yaml#/definitions/error"
148 description: Access forbidden
150 $ref: "../swagger.yaml#/definitions/error"
152 description: Ressource not found
154 $ref: "../swagger.yaml#/definitions/error"
157 Internal server error. Possible `error_code` attribute values:
158 * `internal_server_error`
160 $ref: "../swagger.yaml#/definitions/error"
162 description: Under maintenance
164 $ref: "../swagger.yaml#/definitions/error"
165 x-koha-authorization:
169 x-mojo-to: Preservation::Processings#update
170 operationId: updatePreservationProcessings
172 - preservation_processing
173 summary: Update processing
179 - $ref: "../swagger.yaml#/parameters/preservation_processing_id_pp"
182 description: A JSON object containing new information about existing processing
185 $ref: "../swagger.yaml#/definitions/preservation_processing"
189 description: A successfully updated processing
192 $ref: "../swagger.yaml#/definitions/preservation_processing"
194 description: Bad parameter
196 $ref: "../swagger.yaml#/definitions/error"
198 description: Access forbidden
200 $ref: "../swagger.yaml#/definitions/error"
202 description: Ressource not found
204 $ref: "../swagger.yaml#/definitions/error"
206 description: Conflict in updating resource
208 $ref: "../swagger.yaml#/definitions/error"
210 description: Payload too large
212 $ref: "../swagger.yaml#/definitions/error"
215 Internal server error. Possible `error_code` attribute values:
216 * `internal_server_error`
218 $ref: "../swagger.yaml#/definitions/error"
220 description: Under maintenance
222 $ref: "../swagger.yaml#/definitions/error"
223 x-koha-authorization:
227 x-mojo-to: Preservation::Processings#delete
228 operationId: deletePreservationProcessings
230 - preservation_processing
231 summary: Delete processing
235 - $ref: "../swagger.yaml#/parameters/preservation_processing_id_pp"
238 description: processing deleted
240 description: processing deletion failed
242 $ref: "../swagger.yaml#/definitions/error"
244 description: Authentication required
246 $ref: "../swagger.yaml#/definitions/error"
248 description: Access forbidden
250 $ref: "../swagger.yaml#/definitions/error"
252 description: Ressource not found
254 $ref: "../swagger.yaml#/definitions/error"
256 description: Conflict in deleting resource
258 $ref: "../swagger.yaml#/definitions/error"
261 Internal server error. Possible `error_code` attribute values:
262 * `internal_server_error`
264 $ref: "../swagger.yaml#/definitions/error"
266 description: Under maintenance
268 $ref: "../swagger.yaml#/definitions/error"
269 x-koha-authorization: