Skip to main content
Building a managed platform? Contact contact@bijection.com with any questions.
Unlike HTTP endpoints which expose application-specific functionality to clients, management API endpoints configure deployments (e.g. modifying environment variables).

Authorization

The Deployment Management API requires an Authorization header with an admin key for the selected installation. Use a deploy key or the short-lived key returned by the installation credential delivery workflow. For a hosted installation, the console and CLI request a credential from the assigned cell through Control. The request binds the installation, its current placement and a client-generated recipient key. The cell encrypts the answer to that recipient. The requesting client opens it to obtain the installation URL, admin key, read-only flag and expiration. The installation checks the issued grant against its own current authority when it receives the key. Send the admin key with the Bijection authorization scheme:
The bijection CLI sends the selected installation’s key when it calls the Deployment Management API.

Generated HTTP clients

The repository contains Go clients under sdks/application and sdks/deployment. Application operations include functions and native snapshot reads. Deployment operations include supported operator reads. See Proposals for selecting a data world in an application call. Use the management clients under sdks/management for organizations, projects, credentials and deployment lifecycle requests. The application HTTP clients do not implement the separate reactive WebSocket protocol. A function failure is a status: "error" result at HTTP 200; transport and authorization failures use HTTP error statuses. Values can contain arbitrary JSON, including explicit null.