|
Lines 613-617
Link Here
|
| 613 |
} |
613 |
} |
| 614 |
} |
614 |
} |
| 615 |
} |
615 |
} |
|
|
616 |
}, |
| 617 |
"/holds/{hold_id}/pickup_locations": { |
| 618 |
"get": { |
| 619 |
"x-mojo-to": "Holds#pickup_locations", |
| 620 |
"operationId": "getHoldPickupLocations", |
| 621 |
"tags": ["holds"], |
| 622 |
"parameters": [{ |
| 623 |
"$ref": "../parameters.json#/hold_id_pp" |
| 624 |
}], |
| 625 |
"produces": ["application/json"], |
| 626 |
"responses": { |
| 627 |
"200": { |
| 628 |
"description": "Hold pickup location" |
| 629 |
}, |
| 630 |
"400": { |
| 631 |
"description": "Missing or wrong parameters", |
| 632 |
"schema": { |
| 633 |
"$ref": "../definitions.json#/error" |
| 634 |
} |
| 635 |
}, |
| 636 |
"401": { |
| 637 |
"description": "Authentication required", |
| 638 |
"schema": { |
| 639 |
"$ref": "../definitions.json#/error" |
| 640 |
} |
| 641 |
}, |
| 642 |
"403": { |
| 643 |
"description": "Hold pickup location list not allowed", |
| 644 |
"schema": { |
| 645 |
"$ref": "../definitions.json#/error" |
| 646 |
} |
| 647 |
}, |
| 648 |
"404": { |
| 649 |
"description": "Hold not found", |
| 650 |
"schema": { |
| 651 |
"$ref": "../definitions.json#/error" |
| 652 |
} |
| 653 |
}, |
| 654 |
"500": { |
| 655 |
"description": "Internal server error", |
| 656 |
"schema": { |
| 657 |
"$ref": "../definitions.json#/error" |
| 658 |
} |
| 659 |
}, |
| 660 |
"503": { |
| 661 |
"description": "Under maintenance", |
| 662 |
"schema": { |
| 663 |
"$ref": "../definitions.json#/error" |
| 664 |
} |
| 665 |
} |
| 666 |
}, |
| 667 |
"x-koha-authorization": { |
| 668 |
"permissions": { |
| 669 |
"reserveforothers": "1" |
| 670 |
} |
| 671 |
} |
| 672 |
} |
| 616 |
} |
673 |
} |
| 617 |
} |
674 |
} |