cURL
curl --request POST \ --url https://api.quiva.ai/compute/containers/scale/{collection_topic}/{container_topic} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "count": 3, "subject": "ms.compute.my-namespace.container.123456789" } '
{ "error": "Invalid request parameters" }
Scales the number of container instances up or down
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Collection topic identifier
Container topic identifier
Container scaling parameters
Number of container instances to scale to
x >= 1
Container subject identifier
Container namespace (auto-populated from subject)
Container service identifier (auto-populated from subject)