Koha/api/v1/swagger/paths.json
Kyle M Hall a44ffa0926
Bug 14697: Add routes to handle return claims
This patch adds the /return_claims route to add new return claims, and
then routes to updates notes and the resolution code.

To test:
1. Apply this patches
2. Run:
   $ kshell
  k$ prove t/db_dependent/api/v1/return_claims.t
=> SUCCESS: Tests pass!
3. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Signed-off-by: Lisette Scheer <lisetteslatah@gmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2019-10-31 12:04:13 +00:00

104 lines
3.4 KiB
JSON

{
"/oauth/token": {
"$ref": "paths/oauth.json#/~1oauth~1token"
},
"/acquisitions/vendors": {
"$ref": "paths/acquisitions_vendors.json#/~1acquisitions~1vendors"
},
"/acquisitions/vendors/{vendor_id}": {
"$ref": "paths/acquisitions_vendors.json#/~1acquisitions~1vendors~1{vendor_id}"
},
"/acquisitions/funds": {
"$ref": "paths/acquisitions_funds.json#/~1acquisitions~1funds"
},
"/checkouts": {
"$ref": "paths/checkouts.json#/~1checkouts"
},
"/checkouts/{checkout_id}": {
"$ref": "paths/checkouts.json#/~1checkouts~1{checkout_id}"
},
"/checkouts/{checkout_id}/renewal": {
"$ref": "paths/checkouts.json#/~1checkouts~1{checkout_id}~1renewal"
},
"/cities": {
"$ref": "paths/cities.json#/~1cities"
},
"/cities/{city_id}": {
"$ref": "paths/cities.json#/~1cities~1{city_id}"
},
"/biblios/{biblio_id}": {
"$ref": "paths/biblios.json#/~1biblios~1{biblio_id}"
},
"/clubs/{club_id}/holds": {
"$ref": "paths/clubs.json#/~1clubs~1{club_id}~1holds"
},
"/holds": {
"$ref": "paths/holds.json#/~1holds"
},
"/holds/{hold_id}": {
"$ref": "paths/holds.json#/~1holds~1{hold_id}"
},
"/holds/{hold_id}/priority": {
"$ref": "paths/holds.json#/~1holds~1{hold_id}~1priority"
},
"/holds/{hold_id}/suspension": {
"$ref": "paths/holds.json#/~1holds~1{hold_id}~1suspension"
},
"/items": {
"$ref": "paths/items.json#/~1items"
},
"/items/{item_id}": {
"$ref": "paths/items.json#/~1items~1{item_id}"
},
"/libraries": {
"$ref": "paths/libraries.json#/~1libraries"
},
"/libraries/{library_id}": {
"$ref": "paths/libraries.json#/~1libraries~1{library_id}"
},
"/checkouts/{checkout_id}/allows_renewal": {
"$ref": "paths/checkouts.json#/~1checkouts~1{checkout_id}~1allows_renewal"
},
"/patrons": {
"$ref": "paths/patrons.json#/~1patrons"
},
"/patrons/{patron_id}": {
"$ref": "paths/patrons.json#/~1patrons~1{patron_id}"
},
"/patrons/{patron_id}/account": {
"$ref": "paths/patrons_account.json#/~1patrons~1{patron_id}~1account"
},
"/patrons/{patron_id}/account/credits": {
"$ref": "paths/patrons_account.json#/~1patrons~1{patron_id}~1account~1credits"
},
"/patrons/{patron_id}/password": {
"$ref": "paths/patrons_password.json#/~1patrons~1{patron_id}~1password"
},
"/illrequests": {
"$ref": "paths/illrequests.json#/~1illrequests"
},
"/rotas/{rota_id}/stages/{stage_id}/position": {
"$ref": "paths/rotas.json#/~1rotas~1{rota_id}~1stages~1{stage_id}~1position"
},
"/public/patrons/{patron_id}/password": {
"$ref": "paths/public_patrons.json#/~1public~1patrons~1{patron_id}~1password"
},
"/public/patrons/{patron_id}/guarantors/can_see_charges": {
"$ref": "paths/public_patrons.json#/~1public~1patrons~1{patron_id}~1guarantors~1can_see_charges"
},
"/public/patrons/{patron_id}/guarantors/can_see_checkouts": {
"$ref": "paths/public_patrons.json#/~1public~1patrons~1{patron_id}~1guarantors~1can_see_checkouts"
},
"/return_claims": {
"$ref": "paths/return_claims.json#/~1return_claims"
},
"/return_claims/{claim_id}/notes": {
"$ref": "paths/return_claims.json#/~1return_claims~1{claim_id}~1notes"
},
"/return_claims/{claim_id}/resolve": {
"$ref": "paths/return_claims.json#/~1return_claims~1{claim_id}~1resolve"
},
"/return_claims/{claim_id}": {
"$ref": "paths/return_claims.json#/~1return_claims~1{claim_id}"
}
}