v4
latestOpenAPI 3.0.02026-08-04109113304.5 KBEnvironments
Get Environments by Project
Get all of the Environments that have been created in a given Project
get/environments
Query parameters
per_pageinteger
Optional pagination argument that specifies the maximum number of objects to return per request
pageinteger
Optional pagination argument that specifies the page to return. If you have 140 objects and you choose to return 100 objects per page you will be able to access the last 40 objects on page 2. The default value is 1.
project_idinteger required
The ID of the project for which you would like to get Environments
Response
Return all Environments in a specified Project
Example response
[
{
"description": "For testing purposes before deploying to Production",
"name": "Staging",
"priority": 3
}
]