Restart Docker Container
POST/containers/restart_container
Restart docker container.
Args: payload (RestartAppContainer) -- the required data (app_name and variant_name)
Request
- application/json
Body
required
variant_id Variant Id (string)required
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
object
{}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
msg Message (string)required
type Error Type (string)required
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
Loading...