Environments from a project.
Last environments.
Environments before the given cursor.
Name matching environments.
Environment model.
GET /v1/projects/{projectID}/environments HTTP/1.1 Host: cloud-api.calyptia.com Authorization: Bearer YOUR_SECRET_TOKEN Accept: */*
OK
[ { "id": "123e4567-e89b-12d3-a456-426614174000", "name": "development", "createdAt": "2025-04-24T06:56:47.830Z", "updatedAt": "2025-04-24T06:56:47.830Z" } ]
Create a environment to a given project.
POST /v1/projects/{projectID}/environments HTTP/1.1 Host: cloud-api.calyptia.com Authorization: Bearer YOUR_SECRET_TOKEN Content-Type: application/json Accept: */* Content-Length: 15 { "name": "text" }
Created
{ "id": "123e4567-e89b-12d3-a456-426614174000", "createdAt": "2025-04-24T06:56:47.830Z" }