Environment (env. scope)
Get environment
Get details of the environment.
curl -X GET "https://example.com/v1/environment/"{
"id": "ev_2vKmcBluEENNfFKtXzrHBS",
"created_at": "2021-03-05T10:00:00Z",
"updated_at": "2021-03-05T10:00:00Z",
"name": "dev",
"is_production": false,
"description": "Development environment for public REST API server.",
"secret_count": 20,
"project": {
"name": "booking-app",
"id": "pr_2vKmcBluEENNfFKtXzrHBS"
}
}{
"error": {
"code": "string",
"message": "string",
"details": {
"property1": null,
"property2": null
}
}
}{
"error": {
"code": "string",
"message": "string",
"details": {
"property1": null,
"property2": null
}
}
}