Environments LIST
GET/environments
Required Permissions: Environment List
or Environment Admin
Request
Query Parameters
sort string
The object key to sort the results by.
sort_asc boolean
page integer
items integer
Responses
- 200
A JSON Object containing an array of all created environments.
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
items integer
page integer
Possible values: >= 1
total integer
environments object[]
id integer
name string
description string
type
Possible values: [development
, production
]
archived boolean
created_at date-time
created_by_user_id integer
updated_at date-timenullable
updated_by_user_id integernullable
created_by object
archived boolean
avatar objectnullable
avatar_file_upload_url string
created_at date-time
created_by_user_id integer
Possible values: >= 1
department string
email email
updated_by objectnullable
archived boolean
avatar objectnullable
avatar_file_upload_url string
created_at date-time
created_by_user_id integer
Possible values: >= 1
department string
email email
{
"items": 0,
"page": 0,
"total": 0,
"environments": [
{
"id": 0,
"name": "Sandbox",
"description": "Our sandbox environment.",
"archived": false,
"created_at": "2024-12-02T14:38:57.787Z",
"created_by_user_id": 0,
"updated_at": "2024-12-02T14:38:57.787Z",
"updated_by_user_id": 0,
"created_by": {
"archived": false,
"avatar": {},
"avatar_file_upload_url": "/cropUrl/100x100/1.png",
"created_at": "2024-12-02T14:38:57.787Z",
"created_by_user_id": 0,
"department": "Marketing",
"email": "user@example.com"
},
"updated_by": {
"archived": false,
"avatar": {},
"avatar_file_upload_url": "/cropUrl/100x100/1.png",
"created_at": "2024-12-02T14:38:57.787Z",
"created_by_user_id": 0,
"department": "Marketing",
"email": "user@example.com"
}
}
]
}
Loading...