Public API #
The Kuzzle PaaS backend exposes public Kuzzle controllers for project, environment and application management.
You can call the API with any Kuzzle SDK:
await kuzzle.query({
controller: 'environment',
action: 'list',
projectId: 'paas-project-my-project'
});The same actions are also exposed as HTTP routes. The route paths documented in this section are relative to your Kuzzle PaaS API endpoint.
Authentication #
Most actions require an authenticated Kuzzle user. Send the JWT returned by the authentication flow with your SDK or as a bearer token when using HTTP.
See Authentication.
Main resources #
Resource hierarchy #
Project
+-- Environment
+-- ApplicationA project is the main tenant. An environment belongs to one project. An application belongs to one environment.
Common conventions #
projectIdis usually the Kuzzle tenant index, for examplepaas-project-my-project.environmentIdis the environment name, for examplestagingorproduction.applicationIdis the application_id, for exampleapiorwebapp.- Long-running operations may return an acknowledgement before the platform has finished provisioning or deleting external resources.
- The API may return Kuzzle document wrappers for configuration resources and plain domain objects for project, environment and application resources.
Public controller summary #
| Controller | Purpose |
|---|---|
project | Create, delete, list projects and list project container images. |
project/config | Store and retrieve project-level configuration documents. |
environment | Create, update, refresh, enable, disable and delete environments. |
application | Create, update, deploy, enable, disable and delete applications. |
history | Read project provisioning history. |
monitoring | Manage monitoring access and dashboards. |
alerts | Manage Slack alert configuration. |
keycloak | Generate a Keycloak logout URL. |