https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21116
Bug ID: 21116
Summary: Add API routes through plugins
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: new feature
Priority: P5 - low
Component: REST api
Assignee: [email protected]
Reporter: [email protected]
We should have a way to add routes using specially crafted plugins.
The plugins should provide the following methods to be considered valid
API-generating plugins:
- 'api_routes': returning the 'path' component of the OpenAPI specification
corresponding to the routes served by the plugin
- 'api_namespace': it should return a namespace to be used for grouping the
endpoints provided by the plugin
Plugin-generated routes will be placed inside /contrib/<namespace>, where
<namespace> is what the 'api_namespace' returns.
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/