Koha/api/v1/swagger/paths.json
Tomas Cohen Arazi 62f1b2df68 Bug 20006: Spec changes
This patch makes the spec match the voted RFC.

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
2019-03-15 19:35:26 +00:00

53 lines
1.6 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}"
},
"/cities": {
"$ref": "paths/cities.json#/~1cities"
},
"/cities/{city_id}": {
"$ref": "paths/cities.json#/~1cities~1{city_id}"
},
"/holds": {
"$ref": "paths/holds.json#/~1holds"
},
"/holds/{hold_id}": {
"$ref": "paths/holds.json#/~1holds~1{hold_id}"
},
"/libraries": {
"$ref": "paths/libraries.json#/~1libraries"
},
"/libraries/{library_id}": {
"$ref": "paths/libraries.json#/~1libraries~1{library_id}"
},
"/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"
}
}