Machine Lifecycle
Machine Previews

Create preview

post/v1/machines/{machine_id}/previews

Path parameters

machine_idstring required

Headers

X-Dedalus-Org-Idstring
Idempotency-Keystring required

Request body

portinteger required
protocol'http' | 'https'
visibility'public' | 'private' | 'org'

Response

OK

created_atstring date-time required
error_codestring
error_messagestring
expires_atstring date-time
machine_idstring required
portinteger required
preview_idstring required
protocol'http' | 'https'
ready_atstring date-time
retry_after_msinteger
status'wake_in_progress' | 'ready' | 'closed' | 'expired' | 'failed' required
urlstring
visibility'public' | 'private' | 'org' required

Changes

Changed in 2 of the 8 revisions of this API.211

  • c756c361d33d21See the full diff
    • for the path request parameter machine_id, the minLength was increased from 0 to 4

      request-parameter-min-length-increased

    • added the pattern ^dm-[a-z0-9]([a-z0-9-]*[a-z0-9])?$ to the path request parameter machine_id

      request-parameter-pattern-added

    • for the path request parameter machine_id, the maxLength was set to 253

      request-parameter-max-length-set

    • endpoint added

      endpoint-added

    This revision also has 5 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog