Environments
Sleep an on-demand environment
Changed onManually put an on-demand environment to sleep. Stops containers and sets sleeping = true. If no OnDemandWaker is available, falls back to DB flag only.
post/projects/{project_id}/environments/{env_id}/sleep
Request
- Base URL/api (relative, and the document was published on a file host, not at the API’s origin)
- AuthHTTP bearer
Path parameters
project_idinteger required
Project ID
env_idinteger required
Environment ID
Response
Environment put to sleep
Changes
- breaking
the
created_atresponse's property type changed fromintegertostring, and format fromint64todate-timefor status - breaking
the
estimated_sleep_atresponse's property type changed fromintegernulltostringnull, and format fromint64todate-timefor status - breaking
the
last_activity_atresponse's property type changed fromintegernulltostringnull, and format fromint64todate-timefor status
1 more change in this revision
- breaking