Koha/api/v1/definitions
Julian Maurice 70928807d8 Bug 13903: Add API routes to list, create, update, delete reserves
GET    /reserves?borrowernumber=X (list)
POST   /reserves                  (create)
PUT    /reserves/{reserve_id}     (update)
DELETE /reserves/{reserve_id}     (delete)

Unit tests in t/db_dependent/api/v1/reserves.t

Test plan:
1. Apply patch
2. Run unit tests
3. Play with the API with your favorite REST client, using documentation
   in the swagger.json file
4. Try to make reserves until the maximum number of reserves for a user
   is reached (you should have a 403 error)

Depends on bug 15126

Signed-off-by: Benjamin Rokseth <benjamin.rokseth@kul.oslo.kommune.no>

Signed-off-by: Jesse Weaver <jweaver@bywatersolutions.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
2016-05-04 13:54:01 +00:00
..
error.json
index.json Bug 13903: Add API routes to list, create, update, delete reserves 2016-05-04 13:54:01 +00:00
patron.json
reserve.json Bug 13903: Add API routes to list, create, update, delete reserves 2016-05-04 13:54:01 +00:00
reserves.json Bug 13903: Add API routes to list, create, update, delete reserves 2016-05-04 13:54:01 +00:00