4 "x-mojo-to": "Quotes#list",
5 "operationId": "listQuotes",
16 "description": "Case insensitive search on quote id",
23 "description": "Case insensitive search on source",
30 "description": "Case insensitive search on text",
35 "name": "displayed_on",
37 "description": "Case Insensative search on last displayed date",
42 "$ref": "../parameters.json#/match"
45 "$ref": "../parameters.json#/order_by"
48 "$ref": "../parameters.json#/page"
51 "$ref": "../parameters.json#/per_page"
54 "$ref": "../parameters.json#/q_param"
57 "$ref": "../parameters.json#/q_body"
60 "$ref": "../parameters.json#/q_header"
65 "description": "A list of quotes",
69 "$ref": "../definitions.json#/quote"
74 "description": "Access forbidden",
76 "$ref": "../definitions.json#/error"
80 "description": "Internal error",
82 "$ref": "../definitions.json#/error"
86 "description": "Under maintenance",
88 "$ref": "../definitions.json#/error"
92 "x-koha-authorization": {
99 "x-mojo-to": "Quotes#add",
100 "operationId": "addQuote",
108 "description": "A JSON object containing informations about the new quote",
111 "$ref": "../definitions.json#/quote"
120 "description": "Quote added",
122 "$ref": "../definitions.json#/quote"
126 "description": "Authentication required",
128 "$ref": "../definitions.json#/error"
132 "description": "Access forbidden",
134 "$ref": "../definitions.json#/error"
138 "description": "Internal error",
140 "$ref": "../definitions.json#/error"
144 "description": "Under maintenance",
146 "$ref": "../definitions.json#/error"
150 "x-koha-authorization": {
152 "tools": "edit_quotes"
157 "/quotes/{quote_id}": {
159 "x-mojo-to": "Quotes#get",
160 "operationId": "getQuote",
166 "$ref": "../parameters.json#/quote_id_pp"
174 "description": "A Quote",
176 "$ref": "../definitions.json#/quote"
180 "description": "Quote not found",
182 "$ref": "../definitions.json#/error"
186 "description": "Internal error",
188 "$ref": "../definitions.json#/error"
192 "description": "Under maintenance",
194 "$ref": "../definitions.json#/error"
198 "x-koha-authorization": {
205 "x-mojo-to": "Quotes#update",
206 "operationId": "updateQuote",
212 "$ref": "../parameters.json#/quote_id_pp"
217 "description": "a quote object",
220 "$ref": "../definitions.json#/quote"
229 "description": "A quote",
231 "$ref": "../definitions.json#/quote"
235 "description": "Authentication required",
237 "$ref": "../definitions.json#/error"
241 "description": "Access forbidden",
243 "$ref": "../definitions.json#/error"
247 "description": "Quote not found",
249 "$ref": "../definitions.json#/error"
253 "description": "Internal error",
255 "$ref": "../definitions.json#/error"
259 "description": "Under maintenance",
261 "$ref": "../definitions.json#/error"
265 "x-koha-authorization": {
267 "tools": "edit_quotes"
272 "x-mojo-to": "Quotes#delete",
273 "operationId": "deleteQuote",
279 "$ref": "../parameters.json#/quote_id_pp"
287 "description": "Quote deleted"
290 "description": "Authentication required",
292 "$ref": "../definitions.json#/error"
296 "description": "Access forbidden",
298 "$ref": "../definitions.json#/error"
302 "description": "Quote not found",
304 "$ref": "../definitions.json#/error"
308 "description": "Internal error",
310 "$ref": "../definitions.json#/error"
314 "description": "Under maintenance",
316 "$ref": "../definitions.json#/error"
320 "x-koha-authorization": {
322 "tools": "edit_quotes"