https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36480 --- Comment #2 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Created attachment 164227 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=164227&action=edit Bug 36480: Add GET /libraries/:library_id/desks This patch adds the mentioned endpoint. For it, it does: * Add Koha::Desk->to_api_mapping * Add desk.yaml with the correct data structure for desks * Add the route to the spec * Add tests Note: Lucas and I had doubts about the right return value for when the feature is disabled. I opted for returning 404 with a message telling the feature is disabled. This can be discussed. To test: 1. Apply this patches 2. Run: $ ktd k$ qa => SUCCESS: All green, all tests pass! 3. Play with this using Postman. 4. Sign off :-D -- You are receiving this mail because: You are watching all bug changes.