GET api/v1/environments

List environment

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Filter

Filter records

ListEnvironmentV1Filter

None.

Select

Select columns

Collection of ListEnvironmentV1Select

Default value: All

Example value: Name

Unique items

Sort

Sort records Sort by the first column, then by the second column, and so on

Collection of ListEnvironmentV1Sort

Default value: Name

Example value: Name

Max items: 3

Unique items

PageNumber

Page number

integer (32 bits)

Default value: 1

Example value: 1

Range: inclusive between 1 and 2147483647

PageSize

Number of records per page

integer (32 bits)

Default value: 10

Example value: 10

Range: inclusive between 0 and 100

Body Parameters

None.

Response Information

Resource Description

Retrieve a list of environments

ListEnvironmentV1Response
NameDescriptionTypeAdditional information
Environments

List of environments

Collection of ListEnvironmentV1ResponseEnvironment

None.

Total

Total number of records matching the request

integer (32 bits)

Required

Example value: 42

Range: inclusive between 0 and 2147483647

Response Formats

application/json

Sample:
{
  "Environments": [
    {
      "EnvironmentId": "50c43886-9774-4597-813e-a81ebe22c719",
      "Name": "Connected"
    },
    {
      "EnvironmentId": "50c43886-9774-4597-813e-a81ebe22c719",
      "Name": "Connected"
    }
  ],
  "Total": 42
}