List scheduled cluster upgrades. Returns all scheduled cluster upgrades for an organisation when no filters are set.
Path Parameters
Query Parameters
Optional list of cluster identities.
[]
Optional list of cluster statuses.
[]
Optional. When omitted: pageSize=50, pageNumber=0, sortDirection=ASC
Response Body
Request was successfully processed. The response body contains the requested data.
TypeScript Definitions
Use the response body type in TypeScript.
"int64"
"int32"
"int32"
"int32"
"int32"
Invalid request parameters. Please review the documentation for valid parameter values.
TypeScript Definitions
Use the response body type in TypeScript.
You do not have the necessary permissions to access this resource.
TypeScript Definitions
Use the response body type in TypeScript.
The requested resource could not be found. Please check the resource URL or identifier.
TypeScript Definitions
Use the response body type in TypeScript.
An internal error occurred on the server.
TypeScript Definitions
Use the response body type in TypeScript.
curl -X GET "https://api.avisi.cloud/api/v1/orgs/[object Object]/scheduled-cluster-upgrades?pageable=%5Bobject+Object%5D"
fetch("https://api.avisi.cloud/api/v1/orgs/[object Object]/scheduled-cluster-upgrades?pageable=%5Bobject+Object%5D")
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://api.avisi.cloud/api/v1/orgs/[object Object]/scheduled-cluster-upgrades?pageable=%5Bobject+Object%5D"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := ioutil.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
import requests
url = "https://api.avisi.cloud/api/v1/orgs/[object Object]/scheduled-cluster-upgrades?pageable=%5Bobject+Object%5D"
response = requests.request("GET", url)
print(response.text)
{
"totalElements": 0,
"totalPages": 0,
"first": true,
"last": true,
"size": 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": "REQUESTED",
"clusterSlug": "string",
"environmentSlug": "string",
"organisationSlug": "string",
"scheduleRequestDate": "2019-08-24T14:15:22Z",
"ignoreMaintenanceSchedule": true
}
],
"number": 0,
"sort": {
"empty": true,
"unsorted": true,
"sorted": true
},
"numberOfElements": 0,
"pageable": {
"offset": 0,
"sort": {
"empty": true,
"unsorted": true,
"sorted": true
},
"unpaged": true,
"pageSize": 0,
"paged": true,
"pageNumber": 0
},
"empty": true
}
{
"message": "string",
"details": [
"string"
]
}
{
"message": "string",
"details": [
"string"
]
}
{
"message": "string",
"details": [
"string"
]
}
{
"message": "string",
"details": [
"string"
]
}