Test major Koha Wiki changes or bug fixes here without fear of breaking the production wiki.
For the current Koha Wiki, visit https://wiki.koha-community.org .REST api RFCs
Introduction
The purpose of this page, is to collect references to all RFCs related to the REST api. It is organized by API version. V1 is proposed to be kept until the API covers a reasonable amount of endpoints.
All endpoints and attribute names should respect the terminology guidelines. Terminology changes are discussed as needed on developer meetings. Controller's code needs to respect the project's Coding guidelines and the supplemental API coding guidelines.
Note: for readability purposes, endpoint routes are shortened on this pages, the /api/<version> prefix is omitted. As an example, /patrons stands for /api/v1/patrons in version 1.
Privileged routes
Unprivileged (public) routes
Endpoint | Decision status | Implementation status | Koha version |
---|---|---|---|
/public/biblios | |||
/public/biblios/{biblio_id}/items | Done | 21.11 | |
/public/biblios/{biblio_id}/pickup_locations | |||
/public/items/{item_id}/pickup_locations | |||
/public/patrons/{patron_id}/export | WIP (Lari Taskula) | ||
/public/patrons/{patron_id}/password | Done | 19.05 | |
/public/patrons/{patron_id}/privacy/* | Done (tcohen) | 19.11 | |
/public/patrons/{patron_id}/article_requests/{ar_id} | |||
/public/patrons/{patron_id}/purchase_suggestions | |||
/public/version |
Special use cases handling
Use case | Decision status | Implementation status | Koha version |
---|---|---|---|
Partial resources |
Authentication
The API supports several authentication mechanisms:
Protocol | Implementation status | Koha version |
---|---|---|
Basic Auth | Implemented | 19.05 |
Cookie | Implemented | 3.22 |
OAuth2 - Client credentials | Implemented | 18.05 |
See also
- Using_the_Koha_REST_API (includes more information on authentication)
- Rest Api HowTo
- Coding Guidelines - API