cURL
curl --request GET \ --url https://api.veryfront.com/projects/{project_reference}/environments \ --header 'Authorization: Bearer <token>'
{ "data": [ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "project_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "domains": [ "<string>" ], "environment_variables": [ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "key": "<string>", "value": "<string>" } ], "protected": true, "deployment": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "created_at": "<string>", "updated_at": "<string>", "release": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "export_status": "<string>", "build_status": "<string>", "deploy_status": "<string>", "created_at": "<string>", "updated_at": "<string>" } }, "created_at": "<string>", "updated_at": "<string>" } ], "page_info": { "self": "<string>", "first": null, "next": "<string>", "prev": "<string>" } }
Returns all environments with their domains and environment variables.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Cursor for pagination (environment ID)
1 <= x <= 100
Paginated list of environments for the project
Show child attributes