Bug 31983

Summary: Add "public_api_routes" Koha plugin method
Product: Koha Reporter: David Cook <dcook>
Component: REST APIAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P5 - low CC: m.de.rooy, tomascohen
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31982
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

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.