curl --request POST \
--url https://api.streamkap.com/cluster/scale \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"direction": "up"
}
'{
"operation_id": "<string>",
"status": "pending",
"message": "<string>"
}Create a scaling operation record. The skap-scaling controller picks it up and executes.
Only one scaling operation can run at a time per service. Requires a BYOC service.
curl --request POST \
--url https://api.streamkap.com/cluster/scale \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"direction": "up"
}
'{
"operation_id": "<string>",
"status": "pending",
"message": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
up, down Was this page helpful?