Skip to main content
POST
/
compute
/
containers
/
scale
/
{collection_topic}
/
{container_topic}
Scale container instances
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"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

collection_topic
string
required

Collection topic identifier

container_topic
string
required

Container topic identifier

Body

application/json

Container scaling parameters

count
integer
required

Number of container instances to scale to

Required range: x >= 1
subject
string

Container subject identifier

namespace
string

Container namespace (auto-populated from subject)

service
string

Container service identifier (auto-populated from subject)

Response