Stashbase
Environments

Get single

Get details of a single environment.

GET
/v1/projects/{project_identifier}/environments/{environment_identifier}

Get details of a single environment.

Path Parameters

project_identifier*string

The name or the ID of the project.

environment_identifier*string

The name or the ID of the environment.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/projects/string/environments/string"
{
  "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
}
{
  "error": {
    "code": "string",
    "message": "string",
    "details": {
      "property1": null,
      "property2": null
    }
  }
}
{
  "error": {
    "code": "string",
    "message": "string",
    "details": {
      "property1": null,
      "property2": null
    }
  }
}
{
  "error": {
    "code": "string",
    "message": "string",
    "details": {
      "property1": null,
      "property2": null
    }
  }
}
{
  "error": {
    "code": "string",
    "message": "string",
    "details": {
      "property1": null,
      "property2": null
    }
  }
}