External Services

Get a database's workload mode (internal, operator-only)

Changed on

An ADR-055 migration control for operators and the CLI; the console does not show it. Databases default to legacy and need no change here.

get/external-services/{id}/workload-mode

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    HTTP bearer

Path parameters

idinteger required

External service ID

Response

The database's workload mode

mode'legacy' | 'shadow' | 'enforce' required

legacy: the engine (or the worker's agent) builds its own container request. shadow: the same, and a background pass logs where the running container differs from its workload spec. enforce: the container is created from its admitted spec through the Docker driver, the next time it is created or recreated.

node_idinteger nullable

None: the database runs on the control plane.

service_idinteger required
service_namestring required
service_typestring required

Changes

    • breaking

      removed the required property extensions from the response with the status

    • breaking

      removed the required property extensions from the response with the status

    • breaking

      removed the required property extensions from the response with the status

    1 more change in this revision