API METHODS
SECTIONS
GET /api/container_services
OAuth AuthorizationRequired: projects_read
GET /api/container_services/{id}
OAuth AuthorizationRequired: projects_read
PATCH /api/container_services/{id}
OAuth AuthorizationRequired: projects_write
DELETE /api/container_services/{id}
OAuth AuthorizationRequired: projects_write
Initiate a resize event for a ContainerService
POST /api/container_services/{container-service-id}/resize
OAuth AuthorizationRequired: projects_write
SCHEMA
product_id
: Integer | New planEXAMPLE
{
"container_service": {
"product_id": 2
}
}
Initiate a scale event for a ContainerService
POST /api/container_services/{container-service-id}/scale
OAuth AuthorizationRequired: projects_write
SCHEMA
qty
: Integer | The total number of containers this service should have #EXAMPLE
{
"container_service": {
"qty": 2
}
}
Perform a power action on all containers belonging to a service
PUT /api/container_services/{container-service-id}/power/{action}
OAuth AuthorizationRequired: projects_write
SCHEMA
action
: String<start,stop,restart,rebuild>