View | Details | Raw Unified | Return to bug 28463
Collapse All | Expand All

(-)a/api/v1/swagger/paths/acquisitions_funds.json (+1 lines)
Lines 4-9 Link Here
4
      "x-mojo-to": "Acquisitions::Funds#list",
4
      "x-mojo-to": "Acquisitions::Funds#list",
5
      "operationId": "listFunds",
5
      "operationId": "listFunds",
6
      "tags": ["funds"],
6
      "tags": ["funds"],
7
      "summary": "List funds",
7
      "produces": [
8
      "produces": [
8
        "application/json"
9
        "application/json"
9
      ],
10
      ],
(-)a/api/v1/swagger/paths/acquisitions_orders.json (+5 lines)
Lines 4-9 Link Here
4
            "x-mojo-to": "Acquisitions::Orders#list",
4
            "x-mojo-to": "Acquisitions::Orders#list",
5
            "operationId": "listOrders",
5
            "operationId": "listOrders",
6
            "tags": ["orders"],
6
            "tags": ["orders"],
7
            "summary": "List orders",
7
            "produces": [
8
            "produces": [
8
                "application/json"
9
                "application/json"
9
            ],
10
            ],
Lines 131-136 Link Here
131
            "x-mojo-to": "Acquisitions::Orders#add",
132
            "x-mojo-to": "Acquisitions::Orders#add",
132
            "operationId": "addOrder",
133
            "operationId": "addOrder",
133
            "tags": ["orders"],
134
            "tags": ["orders"],
135
            "summary": "Add order",
134
            "parameters": [
136
            "parameters": [
135
                {
137
                {
136
                    "name": "body",
138
                    "name": "body",
Lines 201-206 Link Here
201
            "x-mojo-to": "Acquisitions::Orders#get",
203
            "x-mojo-to": "Acquisitions::Orders#get",
202
            "operationId": "getOrder",
204
            "operationId": "getOrder",
203
            "tags": ["orders"],
205
            "tags": ["orders"],
206
            "summary": "Get order",
204
            "parameters": [
207
            "parameters": [
205
                {
208
                {
206
                    "$ref": "../parameters.json#/order_id_pp"
209
                    "$ref": "../parameters.json#/order_id_pp"
Lines 272-277 Link Here
272
            "x-mojo-to": "Acquisitions::Orders#update",
275
            "x-mojo-to": "Acquisitions::Orders#update",
273
            "operationId": "updateOrder",
276
            "operationId": "updateOrder",
274
            "tags": ["orders"],
277
            "tags": ["orders"],
278
            "summary": "Update order",
275
            "parameters": [
279
            "parameters": [
276
                {
280
                {
277
                    "$ref": "../parameters.json#/order_id_pp"
281
                    "$ref": "../parameters.json#/order_id_pp"
Lines 337-342 Link Here
337
            "x-mojo-to": "Acquisitions::Orders#delete",
341
            "x-mojo-to": "Acquisitions::Orders#delete",
338
            "operationId": "deleteOrder",
342
            "operationId": "deleteOrder",
339
            "tags": ["orders"],
343
            "tags": ["orders"],
344
            "summary": "Delete order",
340
            "parameters": [
345
            "parameters": [
341
                {
346
                {
342
                    "$ref": "../parameters.json#/order_id_pp"
347
                    "$ref": "../parameters.json#/order_id_pp"
(-)a/api/v1/swagger/paths/acquisitions_vendors.json (+5 lines)
Lines 4-9 Link Here
4
      "x-mojo-to": "Acquisitions::Vendors#list",
4
      "x-mojo-to": "Acquisitions::Vendors#list",
5
      "operationId": "listVendors",
5
      "operationId": "listVendors",
6
      "tags": ["vendors"],
6
      "tags": ["vendors"],
7
      "summary": "List vendors", 
7
      "produces": [
8
      "produces": [
8
        "application/json"
9
        "application/json"
9
      ],
10
      ],
Lines 79-84 Link Here
79
      "x-mojo-to": "Acquisitions::Vendors#add",
80
      "x-mojo-to": "Acquisitions::Vendors#add",
80
      "operationId": "addVendor",
81
      "operationId": "addVendor",
81
      "tags": ["vendors"],
82
      "tags": ["vendors"],
83
      "summary": "Add vendor",
82
      "parameters": [{
84
      "parameters": [{
83
        "name": "body",
85
        "name": "body",
84
        "in": "body",
86
        "in": "body",
Lines 141-146 Link Here
141
      "x-mojo-to": "Acquisitions::Vendors#get",
143
      "x-mojo-to": "Acquisitions::Vendors#get",
142
      "operationId": "getVendor",
144
      "operationId": "getVendor",
143
      "tags": ["vendors"],
145
      "tags": ["vendors"],
146
      "summary": "Get vendor",
144
      "parameters": [{
147
      "parameters": [{
145
        "$ref": "../parameters.json#/vendoridPathParam"
148
        "$ref": "../parameters.json#/vendoridPathParam"
146
      }],
149
      }],
Lines 195-200 Link Here
195
      "x-mojo-to": "Acquisitions::Vendors#update",
198
      "x-mojo-to": "Acquisitions::Vendors#update",
196
      "operationId": "updateVendor",
199
      "operationId": "updateVendor",
197
      "tags": ["vendors"],
200
      "tags": ["vendors"],
201
      "summary": "Update vendor",
198
      "parameters": [{
202
      "parameters": [{
199
        "$ref": "../parameters.json#/vendoridPathParam"
203
        "$ref": "../parameters.json#/vendoridPathParam"
200
      }, {
204
      }, {
Lines 257-262 Link Here
257
      "x-mojo-to": "Acquisitions::Vendors#delete",
261
      "x-mojo-to": "Acquisitions::Vendors#delete",
258
      "operationId": "deleteVendor",
262
      "operationId": "deleteVendor",
259
      "tags": ["vendors"],
263
      "tags": ["vendors"],
264
      "summary": "Delete vendor",
260
      "parameters": [{
265
      "parameters": [{
261
        "$ref": "../parameters.json#/vendoridPathParam"
266
        "$ref": "../parameters.json#/vendoridPathParam"
262
      }],
267
      }],
(-)a/api/v1/swagger/paths/advancededitormacros.json (-9 / +18 lines)
Lines 3-9 Link Here
3
    "get": {
3
    "get": {
4
      "x-mojo-to": "AdvancedEditorMacro#list",
4
      "x-mojo-to": "AdvancedEditorMacro#list",
5
      "operationId": "listMacro",
5
      "operationId": "listMacro",
6
      "tags": ["advancededitormacro"],
6
      "tags": ["macros"],
7
      "summary": "List advanced editor macros",
7
      "produces": [
8
      "produces": [
8
        "application/json"
9
        "application/json"
9
      ],
10
      ],
Lines 75-81 Link Here
75
    "post": {
76
    "post": {
76
      "x-mojo-to": "AdvancedEditorMacro#add",
77
      "x-mojo-to": "AdvancedEditorMacro#add",
77
      "operationId": "addAdvancedEditorMacro",
78
      "operationId": "addAdvancedEditorMacro",
78
      "tags": ["advancededitormacro"],
79
      "tags": ["macros"],
80
      "summary": "Add advanced editor macros",
79
      "parameters": [{
81
      "parameters": [{
80
        "name": "body",
82
        "name": "body",
81
        "in": "body",
83
        "in": "body",
Lines 131-137 Link Here
131
    "post": {
133
    "post": {
132
      "x-mojo-to": "AdvancedEditorMacro#add_shared",
134
      "x-mojo-to": "AdvancedEditorMacro#add_shared",
133
      "operationId": "addsharedAdvancedEditorMacro",
135
      "operationId": "addsharedAdvancedEditorMacro",
134
      "tags": ["advancededitormacro"],
136
      "tags": ["macros"],
137
      "summary": "Add shared advanced editor macros",
135
      "parameters": [{
138
      "parameters": [{
136
        "name": "body",
139
        "name": "body",
137
        "in": "body",
140
        "in": "body",
Lines 190-196 Link Here
190
    "get": {
193
    "get": {
191
      "x-mojo-to": "AdvancedEditorMacro#get",
194
      "x-mojo-to": "AdvancedEditorMacro#get",
192
      "operationId": "getAdvancedEditorMacro",
195
      "operationId": "getAdvancedEditorMacro",
193
      "tags": ["advancededitormacros"],
196
      "tags": ["macros"],
197
      "summary": "Get advanced editor macro",
194
      "parameters": [{
198
      "parameters": [{
195
        "$ref": "../parameters.json#/advancededitormacro_id_pp"
199
        "$ref": "../parameters.json#/advancededitormacro_id_pp"
196
      }],
200
      }],
Lines 238-244 Link Here
238
    "put": {
242
    "put": {
239
      "x-mojo-to": "AdvancedEditorMacro#update",
243
      "x-mojo-to": "AdvancedEditorMacro#update",
240
      "operationId": "updateAdvancedEditorMacro",
244
      "operationId": "updateAdvancedEditorMacro",
241
      "tags": ["advancededitormacros"],
245
      "tags": ["macros"],
246
      "summary": "Update advanced editor macro",
242
      "parameters": [{
247
      "parameters": [{
243
        "$ref": "../parameters.json#/advancededitormacro_id_pp"
248
        "$ref": "../parameters.json#/advancededitormacro_id_pp"
244
      }, {
249
      }, {
Lines 300-306 Link Here
300
    "delete": {
305
    "delete": {
301
      "x-mojo-to": "AdvancedEditorMacro#delete",
306
      "x-mojo-to": "AdvancedEditorMacro#delete",
302
      "operationId": "deleteAdvancedEditorMacro",
307
      "operationId": "deleteAdvancedEditorMacro",
303
      "tags": ["advancededitormacros"],
308
      "tags": ["macros"],
309
      "summary": "Delete advanced editor macro",
304
      "parameters": [{
310
      "parameters": [{
305
        "$ref": "../parameters.json#/advancededitormacro_id_pp"
311
        "$ref": "../parameters.json#/advancededitormacro_id_pp"
306
      }],
312
      }],
Lines 356-362 Link Here
356
    "get": {
362
    "get": {
357
      "x-mojo-to": "AdvancedEditorMacro#get_shared",
363
      "x-mojo-to": "AdvancedEditorMacro#get_shared",
358
      "operationId": "getsharedAdvancedEditorMacro",
364
      "operationId": "getsharedAdvancedEditorMacro",
359
      "tags": ["advancededitormacros"],
365
      "tags": ["macros"],
366
      "summary": "Get shared advanced editor macro",
360
      "parameters": [{
367
      "parameters": [{
361
        "$ref": "../parameters.json#/advancededitormacro_id_pp"
368
        "$ref": "../parameters.json#/advancededitormacro_id_pp"
362
      }],
369
      }],
Lines 404-410 Link Here
404
    "put": {
411
    "put": {
405
      "x-mojo-to": "AdvancedEditorMacro#update_shared",
412
      "x-mojo-to": "AdvancedEditorMacro#update_shared",
406
      "operationId": "updatesharedAdvancedEditorMacro",
413
      "operationId": "updatesharedAdvancedEditorMacro",
407
      "tags": ["advancededitormacros"],
414
      "tags": ["macros"],
415
      "summary": "Update shared advanced editor macro",
408
      "parameters": [{
416
      "parameters": [{
409
        "$ref": "../parameters.json#/advancededitormacro_id_pp"
417
        "$ref": "../parameters.json#/advancededitormacro_id_pp"
410
      }, {
418
      }, {
Lines 469-475 Link Here
469
    "delete": {
477
    "delete": {
470
      "x-mojo-to": "AdvancedEditorMacro#delete_shared",
478
      "x-mojo-to": "AdvancedEditorMacro#delete_shared",
471
      "operationId": "deletesharedAdvancedEditorMacro",
479
      "operationId": "deletesharedAdvancedEditorMacro",
472
      "tags": ["advancededitormacros"],
480
      "tags": ["macros"],
481
      "summary": "Delete shared advanced editor macro",
473
      "parameters": [{
482
      "parameters": [{
474
        "$ref": "../parameters.json#/advancededitormacro_id_pp"
483
        "$ref": "../parameters.json#/advancededitormacro_id_pp"
475
      }],
484
      }],
(-)a/api/v1/swagger/paths/biblios.json (-6 / +7 lines)
Lines 3-11 Link Here
3
    "get": {
3
    "get": {
4
      "x-mojo-to": "Biblios#get",
4
      "x-mojo-to": "Biblios#get",
5
      "operationId": "getBiblio",
5
      "operationId": "getBiblio",
6
      "tags": [
6
      "tags": [ "biblios" ],
7
        "biblios"
7
      "summary": "Get biblio",
8
      ],
9
      "parameters": [
8
      "parameters": [
10
        {
9
        {
11
          "$ref": "../parameters.json#/biblio_id_pp"
10
          "$ref": "../parameters.json#/biblio_id_pp"
Lines 72-80 Link Here
72
    "delete": {
71
    "delete": {
73
      "x-mojo-to": "Biblios#delete",
72
      "x-mojo-to": "Biblios#delete",
74
      "operationId": "deleteBiblio",
73
      "operationId": "deleteBiblio",
75
      "tags": [
74
      "tags": [ "biblios" ],
76
        "biblios"
75
      "summary": "Delete biblio",
77
      ],
78
      "parameters": [
76
      "parameters": [
79
        {
77
        {
80
          "$ref": "../parameters.json#/biblio_id_pp"
78
          "$ref": "../parameters.json#/biblio_id_pp"
Lines 141-146 Link Here
141
      "tags": [
139
      "tags": [
142
        "biblios"
140
        "biblios"
143
      ],
141
      ],
142
      "summary": "Get items for a biblio",
144
      "parameters": [
143
      "parameters": [
145
        {
144
        {
146
          "$ref": "../parameters.json#/biblio_id_pp"
145
          "$ref": "../parameters.json#/biblio_id_pp"
Lines 238-243 Link Here
238
      "tags": [
237
      "tags": [
239
        "biblios"
238
        "biblios"
240
      ],
239
      ],
240
      "summary": "Get valid pickup locations for a biblio",
241
      "parameters": [
241
      "parameters": [
242
        {
242
        {
243
          "$ref": "../parameters.json#/biblio_id_pp"
243
          "$ref": "../parameters.json#/biblio_id_pp"
Lines 338-343 Link Here
338
      "tags": [
338
      "tags": [
339
        "biblios"
339
        "biblios"
340
      ],
340
      ],
341
      "summary": "Get biblio (public)",
341
      "parameters": [
342
      "parameters": [
342
        {
343
        {
343
          "$ref": "../parameters.json#/biblio_id_pp"
344
          "$ref": "../parameters.json#/biblio_id_pp"
(-)a/api/v1/swagger/paths/cash_registers.json (+2 lines)
Lines 4-9 Link Here
4
            "x-mojo-to": "CashRegisters::Cashups#list",
4
            "x-mojo-to": "CashRegisters::Cashups#list",
5
            "operationId": "listCashups",
5
            "operationId": "listCashups",
6
            "tags": ["cashups"],
6
            "tags": ["cashups"],
7
            "summary": "List cashups for the cash register",
7
            "produces": ["application/json"],
8
            "produces": ["application/json"],
8
            "parameters": [{
9
            "parameters": [{
9
                    "$ref": "../parameters.json#/cash_register_id_pp"
10
                    "$ref": "../parameters.json#/cash_register_id_pp"
Lines 68-73 Link Here
68
            "x-mojo-to": "CashRegisters::Cashups#get",
69
            "x-mojo-to": "CashRegisters::Cashups#get",
69
            "operationId": "getCashup",
70
            "operationId": "getCashup",
70
            "tags": ["cashups"],
71
            "tags": ["cashups"],
72
            "summary": "Get cashup",
71
            "parameters": [{
73
            "parameters": [{
72
                "$ref": "../parameters.json#/cashup_id_pp"
74
                "$ref": "../parameters.json#/cashup_id_pp"
73
            }],
75
            }],
(-)a/api/v1/swagger/paths/checkouts.json (+4 lines)
Lines 4-9 Link Here
4
      "x-mojo-to": "Checkouts#list",
4
      "x-mojo-to": "Checkouts#list",
5
      "operationId": "listCheckouts",
5
      "operationId": "listCheckouts",
6
      "tags": ["checkouts"],
6
      "tags": ["checkouts"],
7
      "summary": "List checkouts",
7
      "parameters": [{
8
      "parameters": [{
8
        "$ref": "../parameters.json#/patron_id_qp"
9
        "$ref": "../parameters.json#/patron_id_qp"
9
      }, {
10
      }, {
Lines 54-59 Link Here
54
      "x-mojo-to": "Checkouts#get",
55
      "x-mojo-to": "Checkouts#get",
55
      "operationId": "getCheckout",
56
      "operationId": "getCheckout",
56
      "tags": ["checkouts"],
57
      "tags": ["checkouts"],
58
      "summary": "Get checkout",
57
      "parameters": [{
59
      "parameters": [{
58
        "$ref": "../parameters.json#/checkout_id_pp"
60
        "$ref": "../parameters.json#/checkout_id_pp"
59
      }],
61
      }],
Lines 87-92 Link Here
87
      "x-mojo-to": "Checkouts#renew",
89
      "x-mojo-to": "Checkouts#renew",
88
      "operationId": "renewCheckout",
90
      "operationId": "renewCheckout",
89
      "tags": ["checkouts"],
91
      "tags": ["checkouts"],
92
      "summary": "Renew a checkout",
90
      "parameters": [
93
      "parameters": [
91
        { "$ref": "../parameters.json#/checkout_id_pp" },
94
        { "$ref": "../parameters.json#/checkout_id_pp" },
92
        { "$ref": "../parameters.json#/seen_pp" }
95
        { "$ref": "../parameters.json#/seen_pp" }
Lines 118-123 Link Here
118
      "x-mojo-to": "Checkouts#allows_renewal",
121
      "x-mojo-to": "Checkouts#allows_renewal",
119
      "operationId": "allows_renewalCheckout",
122
      "operationId": "allows_renewalCheckout",
120
      "tags": ["checkouts"],
123
      "tags": ["checkouts"],
124
      "summary": "Get renewability for a checkout",
121
      "parameters": [{
125
      "parameters": [{
122
        "$ref": "../parameters.json#/checkout_id_pp"
126
        "$ref": "../parameters.json#/checkout_id_pp"
123
      }],
127
      }],
(-)a/api/v1/swagger/paths/cities.json (+5 lines)
Lines 6-11 Link Here
6
      "tags": [
6
      "tags": [
7
        "cities"
7
        "cities"
8
      ],
8
      ],
9
      "summary": "List cities",
9
      "produces": [
10
      "produces": [
10
        "application/json"
11
        "application/json"
11
      ],
12
      ],
Lines 101-106 Link Here
101
      "tags": [
102
      "tags": [
102
        "cities"
103
        "cities"
103
      ],
104
      ],
105
      "summary": "Add city",
104
      "parameters": [
106
      "parameters": [
105
        {
107
        {
106
          "name": "body",
108
          "name": "body",
Lines 161-166 Link Here
161
      "tags": [
163
      "tags": [
162
        "cities"
164
        "cities"
163
      ],
165
      ],
166
      "summary": "Get city",
164
      "parameters": [
167
      "parameters": [
165
        {
168
        {
166
          "$ref": "../parameters.json#/city_id_pp"
169
          "$ref": "../parameters.json#/city_id_pp"
Lines 207-212 Link Here
207
      "tags": [
210
      "tags": [
208
        "cities"
211
        "cities"
209
      ],
212
      ],
213
      "summary": "Update city",
210
      "parameters": [
214
      "parameters": [
211
        {
215
        {
212
          "$ref": "../parameters.json#/city_id_pp"
216
          "$ref": "../parameters.json#/city_id_pp"
Lines 274-279 Link Here
274
      "tags": [
278
      "tags": [
275
        "cities"
279
        "cities"
276
      ],
280
      ],
281
      "summary": "Delete city",
277
      "parameters": [
282
      "parameters": [
278
        {
283
        {
279
          "$ref": "../parameters.json#/city_id_pp"
284
          "$ref": "../parameters.json#/city_id_pp"
(-)a/api/v1/swagger/paths/clubs.json (-99 / +125 lines)
Lines 1-111 Link Here
1
{
1
{
2
    "/clubs/{club_id}/holds": {
2
  "/clubs/{club_id}/holds": {
3
        "post": {
3
    "post": {
4
            "x-mojo-to": "Clubs::Holds#add",
4
      "x-mojo-to": "Clubs::Holds#add",
5
            "operationId": "addClubHold",
5
      "operationId": "addClubHold",
6
            "tags": ["clubs"],
6
      "tags": [
7
            "parameters": [{
7
        "clubs"
8
                "$ref": "../parameters.json#/club_id_pp"
8
      ],
9
              }, {
9
      "summary": "Add a club hold",
10
                "name": "body",
10
      "parameters": [
11
                "in": "body",
11
        {
12
                "description": "A JSON object containing informations about the new hold",
12
          "$ref": "../parameters.json#/club_id_pp"
13
                "required": true,
13
        },
14
                "schema": {
14
        {
15
                  "type": "object",
15
          "name": "body",
16
                  "properties": {
16
          "in": "body",
17
                    "biblio_id": {
17
          "description": "A JSON object containing informations about the new hold",
18
                      "description": "Internal biblio identifier",
18
          "required": true,
19
                      "type": [ "integer", "null" ]
19
          "schema": {
20
                    },
20
            "type": "object",
21
                    "item_id": {
21
            "properties": {
22
                      "description": "Internal item identifier",
22
              "biblio_id": {
23
                      "type": [ "integer", "null" ]
23
                "description": "Internal biblio identifier",
24
                    },
24
                "type": [
25
                    "pickup_library_id": {
25
                  "integer",
26
                      "description": "Internal library identifier for the pickup library",
26
                  "null"
27
                      "type": "string"
27
                ]
28
                    },
29
                    "expiration_date": {
30
                      "description": "Hold end date",
31
                      "type": ["string", "null"],
32
                      "format": "date"
33
                    },
34
                    "notes": {
35
                      "description": "Notes related to this hold",
36
                      "type": [ "string", "null" ]
37
                    },
38
                    "item_type": {
39
                      "description": "Limit hold on one itemtype (ignored for item-level holds)",
40
                      "type": [ "string", "null" ]
41
                    },
42
                    "default_patron_home": {
43
                      "description": "For each patron, set pickup location to patron's home library if possible",
44
                      "type": "integer"
45
                    }
46
                  },
47
                  "required": [ "pickup_library_id" ],
48
                  "additionalProperties": false
49
                }
50
              }
51
            ],
52
            "consumes": ["application/json"],
53
            "produces": ["application/json"],
54
            "responses": {
55
              "201": {
56
                "description": "Created hold",
57
                "schema": {
58
                    "$ref": "../definitions/club_hold.json"
59
                }
60
              },
28
              },
61
              "400": {
29
              "item_id": {
62
                "description": "Missing or wrong parameters",
30
                "description": "Internal item identifier",
63
                "schema": {
31
                "type": [
64
                  "$ref": "../definitions.json#/error"
32
                  "integer",
65
                }
33
                  "null"
34
                ]
66
              },
35
              },
67
              "401": {
36
              "pickup_library_id": {
68
                "description": "Authentication required",
37
                "description": "Internal library identifier for the pickup library",
69
                "schema": {
38
                "type": "string"
70
                  "$ref": "../definitions.json#/error"
71
                }
72
              },
39
              },
73
              "403": {
40
              "expiration_date": {
74
                "description": "Hold not allowed",
41
                "description": "Hold end date",
75
                "schema": {
42
                "type": [
76
                  "$ref": "../definitions.json#/error"
43
                  "string",
77
                }
44
                  "null"
45
                ],
46
                "format": "date"
78
              },
47
              },
79
              "404": {
48
              "notes": {
80
                "description": "Hold not found",
49
                "description": "Notes related to this hold",
81
                "schema": {
50
                "type": [
82
                  "$ref": "../definitions.json#/error"
51
                  "string",
83
                }
52
                  "null"
53
                ]
84
              },
54
              },
85
              "409": {
55
              "item_type": {
86
                "description": "Hold not allowed",
56
                "description": "Limit hold on one itemtype (ignored for item-level holds)",
87
                "schema": {
57
                "type": [
88
                  "$ref": "../definitions.json#/error"
58
                  "string",
89
                }
59
                  "null"
60
                ]
90
              },
61
              },
91
              "500": {
62
              "default_patron_home": {
92
                "description": "Internal server error",
63
                "description": "For each patron, set pickup location to patron's home library if possible",
93
                "schema": {
64
                "type": "integer"
94
                  "$ref": "../definitions.json#/error"
95
                }
96
              },
97
              "503": {
98
                "description": "Under maintenance",
99
                "schema": {
100
                  "$ref": "../definitions.json#/error"
101
                }
102
              }
65
              }
103
            },
66
            },
104
            "x-koha-authorization": {
67
            "required": [
105
              "permissions": {
68
              "pickup_library_id"
106
                "reserveforothers": "1"
69
            ],
107
              }
70
            "additionalProperties": false
108
            }
71
          }
72
        }
73
      ],
74
      "consumes": [
75
        "application/json"
76
      ],
77
      "produces": [
78
        "application/json"
79
      ],
80
      "responses": {
81
        "201": {
82
          "description": "Created club hold",
83
          "schema": {
84
            "$ref": "../definitions/club_hold.json"
85
          }
86
        },
87
        "400": {
88
          "description": "Missing or wrong parameters",
89
          "schema": {
90
            "$ref": "../definitions.json#/error"
91
          }
92
        },
93
        "401": {
94
          "description": "Authentication required",
95
          "schema": {
96
            "$ref": "../definitions.json#/error"
97
          }
98
        },
99
        "403": {
100
          "description": "Hold not allowed",
101
          "schema": {
102
            "$ref": "../definitions.json#/error"
103
          }
104
        },
105
        "404": {
106
          "description": "Club not found",
107
          "schema": {
108
            "$ref": "../definitions.json#/error"
109
          }
110
        },
111
        "409": {
112
          "description": "Hold not allowed",
113
          "schema": {
114
            "$ref": "../definitions.json#/error"
115
          }
116
        },
117
        "500": {
118
          "description": "Internal server error",
119
          "schema": {
120
            "$ref": "../definitions.json#/error"
121
          }
122
        },
123
        "503": {
124
          "description": "Under maintenance",
125
          "schema": {
126
            "$ref": "../definitions.json#/error"
127
          }
128
        }
129
      },
130
      "x-koha-authorization": {
131
        "permissions": {
132
          "reserveforothers": "1"
109
        }
133
        }
134
      }
110
    }
135
    }
136
  }
111
}
137
}
(-)a/api/v1/swagger/paths/config_smtp_servers.json (+5 lines)
Lines 6-11 Link Here
6
      "tags": [
6
      "tags": [
7
        "smtp_servers"
7
        "smtp_servers"
8
      ],
8
      ],
9
      "summary": "List SMTP servers",
9
      "produces": [
10
      "produces": [
10
        "application/json"
11
        "application/json"
11
      ],
12
      ],
Lines 73-78 Link Here
73
      "tags": [
74
      "tags": [
74
        "smtp_servers"
75
        "smtp_servers"
75
      ],
76
      ],
77
      "summary": "Add SMTP server",
76
      "parameters": [
78
      "parameters": [
77
        {
79
        {
78
          "name": "body",
80
          "name": "body",
Lines 139-144 Link Here
139
      "tags": [
141
      "tags": [
140
        "smtp_servers"
142
        "smtp_servers"
141
      ],
143
      ],
144
      "summary": "Get SMTP server",
142
      "parameters": [
145
      "parameters": [
143
        {
146
        {
144
          "$ref": "../parameters.json#/smtp_server_id_pp"
147
          "$ref": "../parameters.json#/smtp_server_id_pp"
Lines 191-196 Link Here
191
      "tags": [
194
      "tags": [
192
        "smtp_servers"
195
        "smtp_servers"
193
      ],
196
      ],
197
      "summary": "Update SMTP server",
194
      "parameters": [
198
      "parameters": [
195
        {
199
        {
196
          "$ref": "../parameters.json#/smtp_server_id_pp"
200
          "$ref": "../parameters.json#/smtp_server_id_pp"
Lines 258-263 Link Here
258
      "tags": [
262
      "tags": [
259
        "smtp_servers"
263
        "smtp_servers"
260
      ],
264
      ],
265
      "summary": "Delete SMTP server",
261
      "parameters": [
266
      "parameters": [
262
        {
267
        {
263
          "$ref": "../parameters.json#/smtp_server_id_pp"
268
          "$ref": "../parameters.json#/smtp_server_id_pp"
(-)a/api/v1/swagger/paths/holds.json (+11 lines)
Lines 4-9 Link Here
4
      "x-mojo-to": "Holds#list",
4
      "x-mojo-to": "Holds#list",
5
      "operationId": "listHolds",
5
      "operationId": "listHolds",
6
      "tags": ["holds"],
6
      "tags": ["holds"],
7
      "summary": "List holds",
7
      "parameters": [
8
      "parameters": [
8
        {
9
        {
9
          "name": "hold_id",
10
          "name": "hold_id",
Lines 180-185 Link Here
180
      "x-mojo-to": "Holds#add",
181
      "x-mojo-to": "Holds#add",
181
      "operationId": "addHold",
182
      "operationId": "addHold",
182
      "tags": ["holds"],
183
      "tags": ["holds"],
184
      "summary": "Place hold",
183
      "parameters": [
185
      "parameters": [
184
        {
186
        {
185
          "name": "body",
187
          "name": "body",
Lines 298-303 Link Here
298
      "x-mojo-to": "Holds#edit",
300
      "x-mojo-to": "Holds#edit",
299
      "operationId": "editHold",
301
      "operationId": "editHold",
300
      "tags": ["holds"],
302
      "tags": ["holds"],
303
      "summary": "Update hold",
301
      "parameters": [{
304
      "parameters": [{
302
          "$ref": "../parameters.json#/hold_id_pp"
305
          "$ref": "../parameters.json#/hold_id_pp"
303
        }, {
306
        }, {
Lines 383-388 Link Here
383
      "x-mojo-to": "Holds#edit",
386
      "x-mojo-to": "Holds#edit",
384
      "operationId": "overwriteHold",
387
      "operationId": "overwriteHold",
385
      "tags": ["holds"],
388
      "tags": ["holds"],
389
      "summary": "Update hold",
386
      "description": "This route is being deprecated and will be removed in future releases. Please migrate your project to use PATCH /holds/{hold_id} instead.",
390
      "description": "This route is being deprecated and will be removed in future releases. Please migrate your project to use PATCH /holds/{hold_id} instead.",
387
      "parameters": [{
391
      "parameters": [{
388
          "$ref": "../parameters.json#/hold_id_pp"
392
          "$ref": "../parameters.json#/hold_id_pp"
Lines 469-474 Link Here
469
      "x-mojo-to": "Holds#delete",
473
      "x-mojo-to": "Holds#delete",
470
      "operationId": "deleteHold",
474
      "operationId": "deleteHold",
471
      "tags": ["holds"],
475
      "tags": ["holds"],
476
      "summary": "Cancel hold",
472
      "parameters": [{
477
      "parameters": [{
473
          "$ref": "../parameters.json#/hold_id_pp"
478
          "$ref": "../parameters.json#/hold_id_pp"
474
        }
479
        }
Lines 523-528 Link Here
523
      "tags": [
528
      "tags": [
524
        "holds"
529
        "holds"
525
      ],
530
      ],
531
      "summary": "Update priority for the hold",
526
      "parameters": [
532
      "parameters": [
527
        {
533
        {
528
          "$ref": "../parameters.json#/hold_id_pp"
534
          "$ref": "../parameters.json#/hold_id_pp"
Lines 596-601 Link Here
596
      "x-mojo-to": "Holds#suspend",
602
      "x-mojo-to": "Holds#suspend",
597
      "operationId": "suspendHold",
603
      "operationId": "suspendHold",
598
      "tags": ["holds"],
604
      "tags": ["holds"],
605
      "summary": "Suspend the hold",
599
      "parameters": [{
606
      "parameters": [{
600
          "$ref": "../parameters.json#/hold_id_pp"
607
          "$ref": "../parameters.json#/hold_id_pp"
601
        }, {
608
        }, {
Lines 669-674 Link Here
669
      "x-mojo-to": "Holds#resume",
676
      "x-mojo-to": "Holds#resume",
670
      "operationId": "resumeHold",
677
      "operationId": "resumeHold",
671
      "tags": ["holds"],
678
      "tags": ["holds"],
679
      "summary": "Resume hold",
672
      "parameters": [
680
      "parameters": [
673
        {
681
        {
674
          "$ref": "../parameters.json#/hold_id_pp"
682
          "$ref": "../parameters.json#/hold_id_pp"
Lines 729-734 Link Here
729
      "x-mojo-to": "Holds#pickup_locations",
737
      "x-mojo-to": "Holds#pickup_locations",
730
      "operationId": "getHoldPickupLocations",
738
      "operationId": "getHoldPickupLocations",
731
      "tags": ["holds"],
739
      "tags": ["holds"],
740
      "summary": "Get valid pickup locations for hold",
732
      "parameters": [
741
      "parameters": [
733
        {
742
        {
734
          "name": "x-koha-override",
743
          "name": "x-koha-override",
Lines 822-827 Link Here
822
      "x-mojo-to": "Holds#update_pickup_location",
831
      "x-mojo-to": "Holds#update_pickup_location",
823
      "operationId": "updateHoldPickupLocation",
832
      "operationId": "updateHoldPickupLocation",
824
      "tags": ["holds"],
833
      "tags": ["holds"],
834
      "summary": "Update pickup location for the hold",
835
      "description": "Set a new pickup location for the hold",
825
      "parameters": [
836
      "parameters": [
826
        {
837
        {
827
          "$ref": "../parameters.json#/hold_id_pp"
838
          "$ref": "../parameters.json#/hold_id_pp"
(-)a/api/v1/swagger/paths/ill_backends.json (+2 lines)
Lines 4-9 Link Here
4
            "x-mojo-to": "Illbackends#list",
4
            "x-mojo-to": "Illbackends#list",
5
            "operationId": "listIllbackends",
5
            "operationId": "listIllbackends",
6
            "tags": ["illbackends"],
6
            "tags": ["illbackends"],
7
            "summary": "List ILL backends",
7
            "parameters": [],
8
            "parameters": [],
8
            "produces": [
9
            "produces": [
9
                "application/json"
10
                "application/json"
Lines 58-63 Link Here
58
            "x-mojo-to": "Illbackends#get",
59
            "x-mojo-to": "Illbackends#get",
59
            "operationId": "getIllbackends",
60
            "operationId": "getIllbackends",
60
            "tags": ["illbackends"],
61
            "tags": ["illbackends"],
62
            "summary": "Get ILL backend",
61
            "parameters": [
63
            "parameters": [
62
                {
64
                {
63
                    "name": "ill_backend_id",
65
                    "name": "ill_backend_id",
(-)a/api/v1/swagger/paths/illrequests.json (+1 lines)
Lines 4-9 Link Here
4
            "x-mojo-to": "Illrequests#list",
4
            "x-mojo-to": "Illrequests#list",
5
            "operationId": "listIllrequests",
5
            "operationId": "listIllrequests",
6
            "tags": ["illrequests"],
6
            "tags": ["illrequests"],
7
            "summary": "List ILL requests",
7
            "parameters": [{
8
            "parameters": [{
8
                "name": "embed",
9
                "name": "embed",
9
                "in": "query",
10
                "in": "query",
(-)a/api/v1/swagger/paths/import_batch_profiles.json (+4 lines)
Lines 6-11 Link Here
6
      "tags": [
6
      "tags": [
7
        "batch_import_profiles"
7
        "batch_import_profiles"
8
      ],
8
      ],
9
      "summary": "List batch import profiles",
9
      "parameters": [
10
      "parameters": [
10
        {
11
        {
11
          "name": "name",
12
          "name": "name",
Lines 77-82 Link Here
77
      "tags": [
78
      "tags": [
78
        "batch_import_profiles"
79
        "batch_import_profiles"
79
      ],
80
      ],
81
      "summary": "Add batch import profile",
80
      "parameters": [
82
      "parameters": [
81
        {
83
        {
82
          "name": "body",
84
          "name": "body",
Lines 195-200 Link Here
195
      "tags": [
197
      "tags": [
196
        "batch_import_profiles"
198
        "batch_import_profiles"
197
      ],
199
      ],
200
      "summary": "Update batch import profile",
198
      "parameters": [
201
      "parameters": [
199
        {
202
        {
200
          "$ref": "../parameters.json#/import_batch_profile_id_pp"
203
          "$ref": "../parameters.json#/import_batch_profile_id_pp"
Lines 312-317 Link Here
312
      "x-mojo-to": "ImportBatchProfiles#delete",
315
      "x-mojo-to": "ImportBatchProfiles#delete",
313
      "operationId": "deleteImportBatchProfiles",
316
      "operationId": "deleteImportBatchProfiles",
314
      "tags": ["batch_import_profiles"],
317
      "tags": ["batch_import_profiles"],
318
      "summary": "Delete batch import profile",
315
      "parameters": [{
319
      "parameters": [{
316
          "$ref": "../parameters.json#/import_batch_profile_id_pp"
320
          "$ref": "../parameters.json#/import_batch_profile_id_pp"
317
        }
321
        }
(-)a/api/v1/swagger/paths/items.json (+2 lines)
Lines 6-11 Link Here
6
      "tags": [
6
      "tags": [
7
        "items"
7
        "items"
8
      ],
8
      ],
9
      "summary": "List items",
9
      "parameters": [
10
      "parameters": [
10
        {
11
        {
11
          "name": "external_id",
12
          "name": "external_id",
Lines 80-85 Link Here
80
      "x-mojo-to": "Items#get",
81
      "x-mojo-to": "Items#get",
81
      "operationId": "getItem",
82
      "operationId": "getItem",
82
      "tags": ["items"],
83
      "tags": ["items"],
84
      "summary": "Get item",
83
      "parameters": [{
85
      "parameters": [{
84
          "$ref": "../parameters.json#/item_id_pp"
86
          "$ref": "../parameters.json#/item_id_pp"
85
        }
87
        }
(-)a/api/v1/swagger/paths/libraries.json (+5 lines)
Lines 6-11 Link Here
6
      "tags": [
6
      "tags": [
7
        "library"
7
        "library"
8
      ],
8
      ],
9
      "summary": "List libraries",
9
      "parameters": [
10
      "parameters": [
10
        {
11
        {
11
          "name": "name",
12
          "name": "name",
Lines 189-194 Link Here
189
      "tags": [
190
      "tags": [
190
        "library"
191
        "library"
191
      ],
192
      ],
193
      "summary": "Add library",
192
      "parameters": [
194
      "parameters": [
193
        {
195
        {
194
          "name": "body",
196
          "name": "body",
Lines 261-266 Link Here
261
      "tags": [
263
      "tags": [
262
        "library"
264
        "library"
263
      ],
265
      ],
266
      "summary": "Get library",
264
      "parameters": [
267
      "parameters": [
265
        {
268
        {
266
          "$ref": "../parameters.json#/library_id_pp"
269
          "$ref": "../parameters.json#/library_id_pp"
Lines 298-303 Link Here
298
      "tags": [
301
      "tags": [
299
        "library"
302
        "library"
300
      ],
303
      ],
304
      "summary": "Update library",
301
      "parameters": [
305
      "parameters": [
302
        {
306
        {
303
          "$ref": "../parameters.json#/library_id_pp"
307
          "$ref": "../parameters.json#/library_id_pp"
Lines 374-379 Link Here
374
      "tags": [
378
      "tags": [
375
        "library"
379
        "library"
376
      ],
380
      ],
381
      "summary": "Delete library",
377
      "parameters": [
382
      "parameters": [
378
        {
383
        {
379
          "$ref": "../parameters.json#/library_id_pp"
384
          "$ref": "../parameters.json#/library_id_pp"
(-)a/api/v1/swagger/paths/oauth.json (+1 lines)
Lines 4-9 Link Here
4
            "x-mojo-to": "OAuth#token",
4
            "x-mojo-to": "OAuth#token",
5
            "operationId": "tokenOAuth",
5
            "operationId": "tokenOAuth",
6
            "tags": ["oauth"],
6
            "tags": ["oauth"],
7
            "summary": "Get access token",
7
            "produces": [
8
            "produces": [
8
                "application/json"
9
                "application/json"
9
            ],
10
            ],
(-)a/api/v1/swagger/paths/patrons.json (+5 lines)
Lines 4-9 Link Here
4
      "x-mojo-to": "Patrons#list",
4
      "x-mojo-to": "Patrons#list",
5
      "operationId": "listPatrons",
5
      "operationId": "listPatrons",
6
      "tags": ["patrons"],
6
      "tags": ["patrons"],
7
      "summary": "List patrons",
7
      "produces": [
8
      "produces": [
8
          "application/json"
9
          "application/json"
9
      ],
10
      ],
Lines 460-465 Link Here
460
      "x-mojo-to": "Patrons#add",
461
      "x-mojo-to": "Patrons#add",
461
      "operationId": "addPatron",
462
      "operationId": "addPatron",
462
      "tags": ["patrons"],
463
      "tags": ["patrons"],
464
      "summary": "Add patron",
463
      "parameters": [{
465
      "parameters": [{
464
        "name": "body",
466
        "name": "body",
465
        "in": "body",
467
        "in": "body",
Lines 535-540 Link Here
535
      "x-mojo-to": "Patrons#get",
537
      "x-mojo-to": "Patrons#get",
536
      "operationId": "getPatron",
538
      "operationId": "getPatron",
537
      "tags": ["patrons"],
539
      "tags": ["patrons"],
540
      "summary": "Get patron",
538
      "parameters": [{
541
      "parameters": [{
539
          "$ref": "../parameters.json#/patron_id_pp"
542
          "$ref": "../parameters.json#/patron_id_pp"
540
      }],
543
      }],
Lines 592-597 Link Here
592
      "x-mojo-to": "Patrons#update",
595
      "x-mojo-to": "Patrons#update",
593
      "operationId": "updatePatron",
596
      "operationId": "updatePatron",
594
      "tags": ["patrons"],
597
      "tags": ["patrons"],
598
      "summary": "Update patron",
595
      "parameters": [
599
      "parameters": [
596
        {
600
        {
597
          "$ref": "../parameters.json#/patron_id_pp"
601
          "$ref": "../parameters.json#/patron_id_pp"
Lines 658-663 Link Here
658
      "x-mojo-to": "Patrons#delete",
662
      "x-mojo-to": "Patrons#delete",
659
      "operationId": "deletePatron",
663
      "operationId": "deletePatron",
660
      "tags": ["patrons"],
664
      "tags": ["patrons"],
665
      "summary": "Delete patron",
661
      "parameters": [{
666
      "parameters": [{
662
        "$ref": "../parameters.json#/patron_id_pp"
667
        "$ref": "../parameters.json#/patron_id_pp"
663
      }],
668
      }],
(-)a/api/v1/swagger/paths/patrons_account.json (+2 lines)
Lines 6-11 Link Here
6
      "tags": [
6
      "tags": [
7
        "patrons"
7
        "patrons"
8
      ],
8
      ],
9
      "summary": "Get account information for a patron",
9
      "parameters": [
10
      "parameters": [
10
        {
11
        {
11
          "$ref": "../parameters.json#/patron_id_pp"
12
          "$ref": "../parameters.json#/patron_id_pp"
Lines 67-72 Link Here
67
      "tags": [
68
      "tags": [
68
        "patrons"
69
        "patrons"
69
      ],
70
      ],
71
      "summary": "Add credit to a patron's account",
70
      "parameters": [
72
      "parameters": [
71
        {
73
        {
72
          "$ref": "../parameters.json#/patron_id_pp"
74
          "$ref": "../parameters.json#/patron_id_pp"
(-)a/api/v1/swagger/paths/patrons_extended_attributes.json (+5 lines)
Lines 6-11 Link Here
6
      "tags": [
6
      "tags": [
7
        "patrons"
7
        "patrons"
8
      ],
8
      ],
9
      "summary": "List extended attributes for a patron",
9
      "parameters": [
10
      "parameters": [
10
        {
11
        {
11
          "$ref": "../parameters.json#/patron_id_pp"
12
          "$ref": "../parameters.json#/patron_id_pp"
Lines 88-93 Link Here
88
      "tags": [
89
      "tags": [
89
        "patrons"
90
        "patrons"
90
      ],
91
      ],
92
      "summary": "Add extended attribute for a patron",
91
      "parameters": [
93
      "parameters": [
92
        {
94
        {
93
          "$ref": "../parameters.json#/patron_id_pp"
95
          "$ref": "../parameters.json#/patron_id_pp"
Lines 167-172 Link Here
167
      "tags": [
169
      "tags": [
168
        "patrons"
170
        "patrons"
169
      ],
171
      ],
172
      "summary": "Overwrite extended attributes for a patron",
170
      "parameters": [
173
      "parameters": [
171
        {
174
        {
172
          "$ref": "../parameters.json#/patron_id_pp"
175
          "$ref": "../parameters.json#/patron_id_pp"
Lines 254-259 Link Here
254
      "tags": [
257
      "tags": [
255
        "patrons"
258
        "patrons"
256
      ],
259
      ],
260
      "summary": "Update extended attribute",
257
      "parameters": [
261
      "parameters": [
258
        {
262
        {
259
          "$ref": "../parameters.json#/patron_id_pp"
263
          "$ref": "../parameters.json#/patron_id_pp"
Lines 347-352 Link Here
347
      "tags": [
351
      "tags": [
348
        "patrons"
352
        "patrons"
349
      ],
353
      ],
354
      "summary": "Delete extended attribute",
350
      "parameters": [
355
      "parameters": [
351
        {
356
        {
352
          "$ref": "../parameters.json#/patron_id_pp"
357
          "$ref": "../parameters.json#/patron_id_pp"
(-)a/api/v1/swagger/paths/patrons_holds.json (+1 lines)
Lines 6-11 Link Here
6
      "tags": [
6
      "tags": [
7
        "holds"
7
        "holds"
8
      ],
8
      ],
9
      "summary": "List holds for a patron",
9
      "parameters": [
10
      "parameters": [
10
        {
11
        {
11
          "$ref": "../parameters.json#/patron_id_pp"
12
          "$ref": "../parameters.json#/patron_id_pp"
(-)a/api/v1/swagger/paths/patrons_password.json (+1 lines)
Lines 6-11 Link Here
6
      "tags": [
6
      "tags": [
7
        "patrons"
7
        "patrons"
8
      ],
8
      ],
9
      "summary": "Set password for a patron",
9
      "parameters": [
10
      "parameters": [
10
        {
11
        {
11
          "$ref": "../parameters.json#/patron_id_pp"
12
          "$ref": "../parameters.json#/patron_id_pp"
(-)a/api/v1/swagger/paths/public_patrons.json (+3 lines)
Lines 6-11 Link Here
6
            "tags": [
6
            "tags": [
7
                "patrons"
7
                "patrons"
8
            ],
8
            ],
9
            "summary": "Set password for a patron (public)",
9
            "parameters": [
10
            "parameters": [
10
                {
11
                {
11
                    "$ref": "../parameters.json#/patron_id_pp"
12
                    "$ref": "../parameters.json#/patron_id_pp"
Lines 95-100 Link Here
95
            "tags": [
96
            "tags": [
96
                "patrons"
97
                "patrons"
97
            ],
98
            ],
99
            "summary": "Set if guarantors can see charges (public)",
98
            "parameters": [
100
            "parameters": [
99
                {
101
                {
100
                    "$ref": "../parameters.json#/patron_id_pp"
102
                    "$ref": "../parameters.json#/patron_id_pp"
Lines 171-176 Link Here
171
            "tags": [
173
            "tags": [
172
                "patrons"
174
                "patrons"
173
            ],
175
            ],
176
            "summary": "Set if guarantors can see checkouts",
174
            "parameters": [
177
            "parameters": [
175
                {
178
                {
176
                    "$ref": "../parameters.json#/patron_id_pp"
179
                    "$ref": "../parameters.json#/patron_id_pp"
(-)a/api/v1/swagger/paths/quotes.json (+5 lines)
Lines 6-11 Link Here
6
      "tags": [
6
      "tags": [
7
        "quotes"
7
        "quotes"
8
      ],
8
      ],
9
      "summary": "List quotes",
9
      "produces": [
10
      "produces": [
10
        "application/json"
11
        "application/json"
11
      ],
12
      ],
Lines 101-106 Link Here
101
      "tags": [
102
      "tags": [
102
        "quotes"
103
        "quotes"
103
      ],
104
      ],
105
      "summary": "Add quote",
104
      "parameters": [
106
      "parameters": [
105
        {
107
        {
106
          "name": "body",
108
          "name": "body",
Lines 161-166 Link Here
161
      "tags": [
163
      "tags": [
162
        "quotes"
164
        "quotes"
163
      ],
165
      ],
166
      "summary": "Get quote",
164
      "parameters": [
167
      "parameters": [
165
        {
168
        {
166
          "$ref": "../parameters.json#/quote_id_pp"
169
          "$ref": "../parameters.json#/quote_id_pp"
Lines 207-212 Link Here
207
      "tags": [
210
      "tags": [
208
        "quotes"
211
        "quotes"
209
      ],
212
      ],
213
      "summary": "Update quote",
210
      "parameters": [
214
      "parameters": [
211
        {
215
        {
212
          "$ref": "../parameters.json#/quote_id_pp"
216
          "$ref": "../parameters.json#/quote_id_pp"
Lines 274-279 Link Here
274
      "tags": [
278
      "tags": [
275
        "quotes"
279
        "quotes"
276
      ],
280
      ],
281
      "summary": "Delete quote",
277
      "parameters": [
282
      "parameters": [
278
        {
283
        {
279
          "$ref": "../parameters.json#/quote_id_pp"
284
          "$ref": "../parameters.json#/quote_id_pp"
(-)a/api/v1/swagger/paths/transfer_limits.yaml (-1 / +5 lines)
Lines 4-9 Link Here
4
    x-mojo-to: TransferLimits#list
4
    x-mojo-to: TransferLimits#list
5
    operationId: listTransferLimits
5
    operationId: listTransferLimits
6
    description: "This resource returns a list of existing transfer limits."
6
    description: "This resource returns a list of existing transfer limits."
7
    summary: List transfer limits
7
    tags:
8
    tags:
8
    - transfer
9
    - transfer
9
    parameters:
10
    parameters:
Lines 60-65 Link Here
60
    description: "This resource accepts a new transfer limit and creates it if it does not already exist."
61
    description: "This resource accepts a new transfer limit and creates it if it does not already exist."
61
    tags:
62
    tags:
62
    - transfer
63
    - transfer
64
    summary: Add a transfer limit
63
    parameters:
65
    parameters:
64
    - name: body
66
    - name: body
65
      in: body
67
      in: body
Lines 108-113 Link Here
108
    description: "This resource deletes a transfer limit for the given limit id"
110
    description: "This resource deletes a transfer limit for the given limit id"
109
    tags:
111
    tags:
110
    - transfer
112
    - transfer
113
    summary: Delete transfer limit
111
    parameters:
114
    parameters:
112
    - "$ref": "../parameters.json#/transfer_limit_id_pp"
115
    - "$ref": "../parameters.json#/transfer_limit_id_pp"
113
    produces:
116
    produces:
Lines 179-184 Link Here
179
    ```"
182
    ```"
180
    tags:
183
    tags:
181
    - transfer
184
    - transfer
185
    summary: Batch add transfer limits
182
    parameters:
186
    parameters:
183
    - name: body
187
    - name: body
184
      in: body
188
      in: body
Lines 233-238 Link Here
233
      rather than creating them.'
237
      rather than creating them.'
234
    tags:
238
    tags:
235
    - transfer
239
    - transfer
240
    summary: Batch delete transfer limits
236
    parameters:
241
    parameters:
237
    - name: body
242
    - name: body
238
      in: body
243
      in: body
239
- 

Return to bug 28463