session.Session.get_test_snapshot_url

session.Session.get_test_snapshot_url()

Return the URL of this session's test-mode snapshot endpoint.

The URL (with a fresh cache-busting nonce) points at the dataobj/shinytest endpoint, which returns a JSON snapshot of this session's input, output, and export values. The endpoint only responds when test mode is enabled (SHINY_TESTMODE=1); otherwise it returns a 404.

Returns

: str

The URL path for the snapshot endpoint.