Builder

Someone is looking at the preview: postpone its idle shutdown (call about once a minute while it is visible); a stopped preview is reported as stopped

post/builder/sessions/{sessionId}/preview/keepalive

Request

  • Base URL: https://hostingsurge.com/api/v1
  • URL: https://hostingsurge.com/api/v1/builder/sessions/{sessionId}/preview/keepalive
  • Auth: one of:
    • HTTP bearer
    • API key in cookie __Host-hs_session

Path parameters

sessionIdstring uuid required

Response

The preview

status'starting' | 'running' | 'idle' | 'stopping' | 'stopped' | 'error' required
previewUrlstring nullable required
errorstring nullable required
lastActivityAtstring required

ISO-8601 timestamp

Changes

No recorded changes to this operation across all 1 revision of this API.