Bug 13903: (QA followup) change routes to /holds
authorJulian Maurice <julian.maurice@biblibre.com>
Tue, 24 Mar 2015 10:30:00 +0000 (11:30 +0100)
committerKyle M Hall <kyle@bywatersolutions.com>
Wed, 4 May 2016 13:54:01 +0000 (13:54 +0000)
commit9d31efa2b57caf239e6d974600036efb07196268
tree1593b6b512122dae907d331b16b1109a7770244a
parent70928807d83a8156b77396359b18579d6c7677eb
Bug 13903: (QA followup) change routes to /holds

GET    /holds?borrowernumber=X (list)
POST   /holds                  (create)
PUT    /holds/{reserve_id}     (update)
DELETE /holds/{reserve_id}     (delete)

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

Signed-off-by: Jesse Weaver <jweaver@bywatersolutions.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Koha/REST/V1/Hold.pm [moved from Koha/REST/V1/Reserve.pm with 99% similarity]
api/v1/definitions/hold.json [moved from api/v1/definitions/reserve.json with 78% similarity]
api/v1/definitions/holds.json [new file with mode: 0644]
api/v1/definitions/index.json
api/v1/definitions/reserves.json [deleted file]
api/v1/swagger.json
t/db_dependent/api/v1/holds.t [moved from t/db_dependent/api/v1/reserves.t with 88% similarity]