List Ankra Cloud quota requests
import requests
url = "https://platform.ankra.app/api/v1/clusters/ankracloud/quota-requests"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://platform.ankra.app/api/v1/clusters/ankracloud/quota-requests', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://platform.ankra.app/api/v1/clusters/ankracloud/quota-requests \
--header 'Authorization: Bearer <token>'{
"items": [
{
"id": "<string>",
"state": "pending",
"limits": {},
"reason": "<string>",
"staff_reason": "<string>",
"requested_by_email": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"decided_at": "2023-11-07T05:31:56Z"
}
],
"next_cursor": "<string>"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}Ankra Cloud Clusters
List Ankra Cloud quota requests
Lists the Ankra Cloud account’s requests for higher limits, newest first, with each one’s state and Ankra Cloud staff’s reason when decided. Requires clusters.read. Answers 404 unless the organisation’s ankra_cloud_quota_management and ankra_cloud_provider feature flags are both on.
GET
/
api
/
v1
/
clusters
/
ankracloud
/
quota-requests
List Ankra Cloud quota requests
import requests
url = "https://platform.ankra.app/api/v1/clusters/ankracloud/quota-requests"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://platform.ankra.app/api/v1/clusters/ankracloud/quota-requests', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://platform.ankra.app/api/v1/clusters/ankracloud/quota-requests \
--header 'Authorization: Bearer <token>'{
"items": [
{
"id": "<string>",
"state": "pending",
"limits": {},
"reason": "<string>",
"staff_reason": "<string>",
"requested_by_email": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"decided_at": "2023-11-07T05:31:56Z"
}
],
"next_cursor": "<string>"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}