Sandboxes

Signs the console's own browser in to a `temps_login` sandbox preview without showing the sign-in page: the same grant `/ingress/login-grants` issues after that page, for a console that already has a session and wants to frame the preview.

Changed on
post/ingress/sandbox-preview-sessions

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    HTTP bearer

Request body

sandbox_idstring required

The sandbox's public id (sbx_<hex>).

urlstring required

The preview page to open, as the console would frame it: http(s)://ws-<hex>-<port>.<preview domain>[:port]/path?query.

Response

Grant issued; load redirect_url in the frame (or tab) that shows the preview. It signs the browser in to that preview host and lands on the requested page

expires_atstring required

When the session this grant can start expires. ISO 8601, UTC.

grant_idinteger required
redirect_urlstring required

Where the browser goes next: the host's exchange path with a short-lived grant. Contains a credential; do not store it.

Changes

    • breaking

      removed the required property extensions from the response with the status

    • breaking

      removed the required property extensions from the response with the status

    • breaking

      removed the required property extensions from the response with the status

    3 more changes in this revision