@@ -, +, @@ --- .../swagger/paths/acquisitions_baskets.yaml | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 api/v1/swagger/paths/acquisitions_baskets.yaml --- a/api/v1/swagger/paths/acquisitions_baskets.yaml +++ a/api/v1/swagger/paths/acquisitions_baskets.yaml @@ -0,0 +1,45 @@ +--- +/acquisitions/baskets/managers: + get: + x-mojo-to: Acquisitions::Baskets#list_managers + operationId: listBasketsManagers + description: This resource returns a list of patron allowed to be a manager for baskets + summary: List possibe managers for baskets + tags: + - baskets + parameters: + - $ref: ../parameters.yaml#/match + - $ref: ../parameters.yaml#/order_by + - $ref: ../parameters.yaml#/page + - $ref: ../parameters.yaml#/per_page + - $ref: ../parameters.yaml#/q_param + - $ref: ../parameters.yaml#/q_body + - $ref: ../parameters.yaml#/q_header + produces: + - application/json + responses: + "200": + description: A list of orders' managers + schema: + type: array + items: + $ref: ../definitions.yaml#/patron + "403": + description: Access forbidden + schema: + $ref: ../definitions.yaml#/error + "500": + description: | + Internal server error. Possible `error_code` attribute values: + + * `internal_server_error` + schema: + $ref: ../definitions.yaml#/error + "503": + description: Under maintenance + schema: + $ref: ../definitions.yaml#/error + x-koha-authorization: + permissions: + acquisition: order_manage + --