Environments
Environment api reference
Create environment
POST
https://localhost:44362/environments/
This endpoint allows you to get free cakes.
Headers
Name
Type
Description
Content-Type
string
The Content-Type entity header is used to indicate the media type. Use application/json
Request Body
Name
Type
Description
project
object
id
string
Unique identifier environment
name
string
Name of environment
{
"project": {
"id": "bc6c5436-ffff-439e-ae27-9b3b967daa11",
"name": "Sample Project",
"description": "Sample project to demonstrate cosmos toggles"
},
"id": "a809c860-dda0-488c-83b1-a6c5a5621a6f",
"name": "Development"
}
Get environment
GET
https://localhost:44362/:projectId
Get environment by project id
Query Parameters
Name
Type
Description
projectId
string
Project identifier
Headers
Name
Type
Description
Content-Type
string
The Content-Type header is used to indicate the media type. Use application/json
{
"project": {
"id": "bc6c5436-ffff-439e-ae27-9b3b967daa11",
"name": "Sample Project",
"description": "Sample project to demonstrate cosmos toggles"
},
"id": "a809c860-dda0-488c-83b1-a6c5a5621a6f",
"name": "Development"
}
Last updated
Was this helpful?