4 "operationId": "listCheckouts",
5 "tags": ["patrons", "checkouts"],
7 "$ref": "../parameters.json#/borrowernumberQueryParam"
14 "description": "A list of checkouts",
16 "$ref": "../definitions.json#/checkouts"
20 "description": "Access forbidden",
21 "schema": { "$ref": "../definitions.json#/error" }
24 "description": "Patron not found",
25 "schema": { "$ref": "../definitions.json#/error" }
28 "x-koha-authorization": {
30 "allow-guarantor": true,
32 "circulate": "circulate_remaining_permissions"
37 "/checkouts/{checkout_id}": {
39 "operationId": "getCheckout",
40 "tags": ["patrons", "checkouts"],
42 "$ref": "../parameters.json#/checkoutIdPathParam"
44 "produces": ["application/json"],
47 "description": "Updated borrower's checkout",
48 "schema": { "$ref": "../definitions.json#/checkout" }
51 "description": "Access forbidden",
52 "schema": { "$ref": "../definitions.json#/error" }
55 "description": "Checkout not found",
56 "schema": { "$ref": "../definitions.json#/error" }
59 "x-koha-authorization": {
61 "allow-guarantor": true,
63 "circulate": "circulate_remaining_permissions"
68 "operationId": "renewCheckout",
69 "tags": ["patrons", "checkouts"],
71 "$ref": "../parameters.json#/checkoutIdPathParam"
73 "produces": ["application/json"],
76 "description": "Updated borrower's checkout",
77 "schema": { "$ref": "../definitions.json#/checkout" }
80 "description": "Cannot renew checkout",
81 "schema": { "$ref": "../definitions.json#/error" }
84 "description": "Checkout not found",
85 "schema": { "$ref": "../definitions.json#/error" }
88 "x-koha-authorization": {
90 "allow-guarantor": true,
92 "circulate": "circulate_remaining_permissions"