Bug 31983 - Add "public_api_routes" Koha plugin method
Summary: Add "public_api_routes" Koha plugin method
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: REST API (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-26 02:19 UTC by David Cook
Modified: 2023-06-11 12:55 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Cook 2022-10-26 02:19:11 UTC
At the moment, Koha plugins put all their API routes under /api/v1/contrib/<api_namespace>.

It would be useful to be able to put API routes under either of these two paths:

/api/v1/contrib/<api_namespace>
/api/v1/public/contrib/<api_namespace>

That way, we can more easily separate the public and non-public API interfaces.