Workload Placement

Get an environment's workload mode (internal, operator-only)

Changed on

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

get/internal/environments/{environment_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

environment_idinteger required

Environment ID

Response

environment_idinteger required
workload_mode'legacy' | 'shadow' | 'enforce' 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