Skip to content

Overview

The REST API of Stratum: every resource, for tenants and operators.

Endpoint. https://stratum.<parent-domain> through the front door, or http://<node>:8443 on the node’s address.

Authentication. Sign in with POST /v1/iam/login (email and password) and send the returned token on every call as Authorization: Bearer <token>. A personal access token or a service-account key works the same way.

Requests. JSON in and out. Project resources live under /v1/projects/{projectId}/<service>/...; install-wide ones under /v1/<service>. Creates and other long changes answer 202 with the resource in its first state; poll it until it is ready. Lists are paginated with a cursor (pageToken, nextPageToken).

Errors. RFC 7807 problem documents (application/problem+json) with a machine-readable code, for example 400 VALIDATION_FAILED, 403 FORBIDDEN, 404 NOT_FOUND, 409 CONFLICT, 503 SERVICE_DISABLED.

Generated from Stratum v0.7.0 (7d9b80cd).

Information

  • License: AGPL-3.0-only
  • OpenAPI version: 3.1.0

Opaque Bearer token. Obtained via POST /v1/iam/login.

Security scheme type: http

Bearer format: opaque