Get all environments
GET https://{{base_url}}/v3/environments
The Get all environments call fetches the list of all environments available in a stack.
To use the API Request, you will need to authenticate yourself either with a Management Token (highly recommended) or an Authtoken.Â
Read more about it in Authentication.
For more information, refer to the Get all environments API Reference document
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
include_count | boolean | Set this parameter to 'true' to include in response the total count of languages added to your stack. | |
asc | string | Enter the unique ID of the field for sorting the environments in ascending order with respect to that field. | |
desc | string | Enter the unique ID of the field for sorting the environments in descending order with respect to that field. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
api_key | string | ||
authtoken | string | Enter your authtoken. | |
authorization | string | For this call we recommend you to use management token. | |
Content-Type | string |