Create environment

Changed on
post/v1/workspaces/{workspaceId}/environments

Request

  • Base URL
    http://localhost:3001/api
  • URL
    http://localhost:3001/api/v1/workspaces/{workspaceId}/environments
  • Auth
    • API key in header X-API-Key
    • or HTTP bearer

Path parameters

workspaceIdstring required

ID of the workspace

Request body

descriptionstring
metadataobject
namestring required
resourceSelectorstring

CEL expression to determine if the environment should be used

Response

Accepted response

idstring required
messagestring required

Changes

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • breaking

      removed from the request property oneOf list

    • breaking

      the request property type changed from no type to string