Avisi cloud logo
Environments

List environments in an organisation.

GET
/api/v1/orgs/{organisationSlug}/environments

Path Parameters

organisationSlug
Required
string

Query Parameters

pageable
Required
object

Optional. When omitted: pageSize=50, pageNumber=0, sortDirection=ASC

curl -X GET "http://localhost:8090/api/v1/orgs/string/environments?pageable=%7B%0A++%22page%22%3A+0%2C%0A++%22size%22%3A+1%2C%0A++%22sort%22%3A+%5B%0A++++%22string%22%0A++%5D%0A%7D"

Request was successfully processed. The response body contains the requested data.

{
  "totalElements": 0,
  "totalPages": 0,
  "content": [
    {
      "id": 0,
      "identity": "10a80a7a-1a32-4a74-b592-aa2a4ef691c5",
      "name": "string",
      "purpose": "string",
      "type": "string",
      "description": "string",
      "createdAt": "2019-08-24T14:15:22Z",
      "modifiedAt": "2019-08-24T14:15:22Z",
      "deletedAt": "2019-08-24T14:15:22Z",
      "totalClusters": 0,
      "totalCpu": 0,
      "totalMemory": 0,
      "slug": {
        "slugValue": "string"
      },
      "organisationSlug": {
        "slugValue": "string"
      }
    }
  ],
  "number": 0,
  "size": 0,
  "first": true,
  "last": true,
  "sort": [
    {
      "direction": "string",
      "nullHandling": "string",
      "ascending": true,
      "property": "string",
      "ignoreCase": true
    }
  ],
  "numberOfElements": 0,
  "pageable": {
    "offset": 0,
    "sort": [
      {
        "direction": "string",
        "nullHandling": "string",
        "ascending": true,
        "property": "string",
        "ignoreCase": true
      }
    ],
    "paged": true,
    "pageNumber": 0,
    "pageSize": 0,
    "unpaged": true
  },
  "empty": true
}