sqAPI has some default endpoints activated, in addition to the active plugins that are running.
These endpoints will be accessible even if there are no active plugins,
even if the sqAPI instance is started as a loader
.
TODO: Not implemented yet
A complete list of the active plugins are available at URI /plugins
,
where each plugin contains the following.
name
: Name of the pluginblueprints
: List of blueprint in the pluginpackage
: Package where the blueprint is locatedurl_prefix
: Parent endpointendpoints
: Rules for this specific blueprint- See rules for more details
[
{
"name": "thumbnails",
"blueprints": [
{
"package": "sqapi.plugin.plugins.thumbnails.blueprints.thumbnails",
"url_prefix": "/thumbnails",
"endpoints": [
{
"function": "sqapi.plugin.plugins.thumbnails.blueprints.thumbnails.thumbnail_by_uuid",
"endpoint": "/thumbnails/%3Cuuid_ref%3E",
"arguments": [
"uuid_ref"
],
"methods": [
"OPTIONS",
"GET",
"HEAD"
]
}
]
}
]
}
]
List all active and available endpoints for the running instance, available at URI /rules
.
function
: Function name prefixed with packageendpoint
: Endpoint for specific functionarguments
: List of arguments to the mentioned functionmethods
: Supported HTTP methods for the specific endpoint
[
{
"function": "sqapi.plugins.thumbnails.blueprints.thumbnails.thumbnail_by_uuid",
"endpoint": "/thumbnails/%3Cuuid_ref%3E",
"arguments": [
"uuid_ref"
],
"methods": [
"OPTIONS",
"GET",
"HEAD"
]
}
]