POST /sandboxes/{sandboxID}/connect
Connect sandbox
Returns sandbox details. If the sandbox is paused, it will be resumed. TTL is only extended.
Параметры
sandboxID·string· путь · обязательно
Тело запроса
Обязательно: да
application/json
Схема: ConnectSandbox
timeout·integer· обязательноTimeout in seconds from the current time after which the sandbox should expire
Формат:
int32Минимум:
0
Ответы
200
The sandbox was already running
Content-Type: application/json
Схема: Sandbox
templateID·string· обязательноIdentifier of the template from which is the sandbox created
sandboxID·string· обязательноIdentifier of the sandbox
alias·string· необязательноAlias of the template
envdVersion·EnvdVersion· обязательноVersion of the envd running in the sandbox
domain·string | null· необязательноBase domain where the sandbox traffic is accessible
201
The sandbox was resumed successfully
Content-Type: application/json
Схема: Sandbox
templateID·string· обязательноIdentifier of the template from which is the sandbox created
sandboxID·string· обязательноIdentifier of the sandbox
alias·string· необязательноAlias of the template
envdVersion·EnvdVersion· обязательноVersion of the envd running in the sandbox
domain·string | null· необязательноBase domain where the sandbox traffic is accessible
400
Bad request
Content-Type: application/json
Схема: Error
code·integer· обязательноError code
Формат:
int32message·string· обязательноError
401
Authentication error
Content-Type: application/json
Схема: Error
code·integer· обязательноError code
Формат:
int32message·string· обязательноError
404
Not found
Content-Type: application/json
Схема: Error
code·integer· обязательноError code
Формат:
int32message·string· обязательноError
500
Server error
Content-Type: application/json
Схема: Error
code·integer· обязательноError code
Формат:
int32message·string· обязательноError