List nodes
import requests
url = "https://platform.ankra.app/org/clusters/scaleway/{cluster_id}/nodes"
headers = {"cookie": "ankra_session="}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {cookie: 'ankra_session='}};
fetch('https://platform.ankra.app/org/clusters/scaleway/{cluster_id}/nodes', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://platform.ankra.app/org/clusters/scaleway/{cluster_id}/nodes \
--cookie ankra_session={
"nodes": [
{
"created_at": "<string>",
"id": "<string>",
"instance_type": "<string>",
"is_deleted": true,
"kind": "<string>",
"location": "<string>",
"name": "<string>",
"state": "<string>",
"updated_at": "<string>",
"node_group": "<string>",
"private_ip": "<string>",
"public_ip": "<string>",
"role": "<string>"
}
]
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}{
"detail": "Cluster not found"
}Scaleway / Kapsule
List nodes
Browser session authentication; RBAC permission clusters.read. PAT mutations support wait=false where implemented; browser mutations require CSRF.
GET
/
org
/
clusters
/
scaleway
/
{cluster_id}
/
nodes
List nodes
import requests
url = "https://platform.ankra.app/org/clusters/scaleway/{cluster_id}/nodes"
headers = {"cookie": "ankra_session="}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {cookie: 'ankra_session='}};
fetch('https://platform.ankra.app/org/clusters/scaleway/{cluster_id}/nodes', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://platform.ankra.app/org/clusters/scaleway/{cluster_id}/nodes \
--cookie ankra_session={
"nodes": [
{
"created_at": "<string>",
"id": "<string>",
"instance_type": "<string>",
"is_deleted": true,
"kind": "<string>",
"location": "<string>",
"name": "<string>",
"state": "<string>",
"updated_at": "<string>",
"node_group": "<string>",
"private_ip": "<string>",
"public_ip": "<string>",
"role": "<string>"
}
]
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}{
"detail": "Cluster not found"
}⌘I