sessions

Set (or autodetect) the browser preview URL for a session

Changed on
post/api/v1/sessions/{sessionId}/preview

Request

  • Base URL
    http://127.0.0.1:3001
  • URL
    http://127.0.0.1:3001/api/v1/sessions/{sessionId}/preview
  • Auth
    none declared

Path parameters

sessionIdstring required

Session identifier, e.g. project-1.

Request body

requireWorkspaceFileboolean

Reject the target unless it resolves to an existing file in the session workspace.

urlstring

Preview target URL. When empty, the daemon autodetects a static entry point in the session workspace.

Response

OK

Changes

    • info

      added the optional property / to the response with the status

    • warning

      removed the optional property / from the response with the status

    • info

      removed the agent_switch_saga enum value from the response property for the response status

    • info

      removed the agent_switch_saga enum value from the response property for the response status

    • info

      removed the agent_switch_saga enum value from the response property for the response status

    • info

      removed the agent_switch_saga enum value from the response property for the response status