CI & Test Runs
List the environments of a project
Returns the environments of a project, so a pipeline can pick the one whose variables the run should use. An environment marked isReadOnly rejects every write request sent to it, and the test cases concerned are reported as blocked rather than failed.
get/api/cli/environments
Request
- Base URL: https://api.routebase.dev
- URL: https://api.routebase.dev/api/cli/environments
- Auth: API key in header X-API-Key
Query parameters
ProjectIdQuerystring uuid required
Public id of the project.
Headers
X-RB-Regionstring
Example:us
Region of your organization. US organizations must send us; EU organizations leave the header out. Without it a US call is routed to the EU region and answered with 401.
Response
The environments of the project.
Changes
No recorded changes to this operation across all 1 revision of this API.