{
"/checkouts": {
"get": {
+ "x-mojo-to": "Checkout#list",
"operationId": "listCheckouts",
"tags": ["patrons", "checkouts"],
"parameters": [{
- "$ref": "../parameters.json#/borrowernumberQueryParam"
+ "$ref": "../parameters.json#/patron_id_qp"
}],
"produces": [
"application/json"
}
},
"x-koha-authorization": {
- "allow-owner": true,
- "allow-guarantor": true,
"permissions": {
"circulate": "circulate_remaining_permissions"
}
},
"/checkouts/{checkout_id}": {
"get": {
+ "x-mojo-to": "Checkout#get",
"operationId": "getCheckout",
"tags": ["patrons", "checkouts"],
"parameters": [{
}
},
"x-koha-authorization": {
- "allow-owner": true,
- "allow-guarantor": true,
"permissions": {
"circulate": "circulate_remaining_permissions"
}
}
},
"put": {
+ "x-mojo-to": "Checkout#renew",
"operationId": "renewCheckout",
"tags": ["patrons", "checkouts"],
"parameters": [{
}
},
"x-koha-authorization": {
- "allow-owner": true,
- "allow-guarantor": true,
"permissions": {
"circulate": "circulate_remaining_permissions"
}