Avisi cloud logo
Scheduled upgrades

List scheduled cluster upgrades. Returns all scheduled cluster upgrades for an organisation when no filters are set.

GET
/api/v1/orgs/{organisationSlug}/scheduled-cluster-upgrades

Path Parameters

organisationSlug
Required
object

Query Parameters

clusterIdentitiesarray<string>

Optional list of cluster identities.

Default: []

statusesarray<string>

Optional list of cluster statuses.

Default: []

pageable
Required
object

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

curl -X GET "http://localhost:8090/api/v1/orgs/%7B%20%20%22slugValue%22:%20%22string%22%7D/scheduled-cluster-upgrades?clusterIdentities=%5B%5D&statuses=%5B%5D&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": [
    {
      "identity": "10a80a7a-1a32-4a74-b592-aa2a4ef691c5",
      "clusterIdentity": "5e08fe67-1274-475d-bd0c-a65b0330507f",
      "createdAt": "2019-08-24T14:15:22Z",
      "modifiedAt": "2019-08-24T14:15:22Z",
      "windowStart": "2019-08-24T14:15:22Z",
      "windowEnd": "2019-08-24T14:15:22Z",
      "reason": "string",
      "fromClusterVersion": "string",
      "toClusterVersion": "string",
      "status": "SCHEDULED",
      "clusterSlug": "string",
      "environmentSlug": "string",
      "organisationSlug": "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
}