latestOpenAPI 3.0.02026-08-10221235717.8 KB

e21ad140ec3c

public
Environment

Get a specific Environment.

Gets a specific Environment in an Application.

get/orgs/{orgId}/apps/{appId}/envs/{envId}

Path parameters

orgIdstring required

The Organization ID.

appIdstring required

The Application ID.

envIdstring required

The Environment ID.

Response

The Environment requested.

created_atstring date-time required

The timestamp in UTC of when the Environment was created.

created_bystring required

The user who created the Environment

idstring required

The ID the Environment is referenced as.

namestring required

The Human-friendly name for the Environment.

typestring required

The Environment Type. This is used for organizing and managing Environments.

status'active' | 'deleting' required

The status of the environment

status_changed_atstring date-time required

The timestamp in UTC of when the Environment status was last changed.

status_messagestring

The message associated with the status of the environment

Example response

{
  "created_at": "2020-05-22T14:58:07Z",
  "created_by": "a.user@example.com",
  "status": "active",
  "status_changed_at": "2020-05-22T14:59:01Z",
  "from_deploy": {
    "comment": "Updated version of module-one to v0.3.1",
    "created_at": "2020-05-22T14:58:07Z",
    "created_by": "a.user@example.com",
    "delta_id": "df1ad41807b0390a9b0eaf8688e1f5baece9d764",
    "env_id": "my-env",
    "from_id": "42d4b302fd3c",
    "id": "67f1619a57d",
    "status": "in progress",
    "status_changed_at": "2020-05-22T14:59:01Z"
  },
  "id": "feature-test",
  "last_deploy": {
    "comment": "Updated version of module-one to v0.3.1",
    "created_at": "2020-05-22T14:58:07Z",
    "created_by": "a.user@example.com",
    "delta_id": "df1ad41807b0390a9b0eaf8688e1f5baece9d764",
    "env_id": "my-env",
    "from_id": "42d4b302fd3c",
    "id": "67f1619a57d",
    "status": "in progress",
    "status_changed_at": "2020-05-22T14:59:01Z"
  },
  "name": "Feature Test",
  "type": "development"
}