Enable reverse proxy and ensure the matching project environment

Idempotently creates or updates the Local environment for an interactive client or the Preview environment for CI, enables reverse proxy, and returns tunnel status.

post/api/v1/projects/{project_id}/reverse-proxy

Request

  • Base URL: https://qa.replay.io
  • URL: https://qa.replay.io/api/v1/projects/{project_id}/reverse-proxy
  • Auth: HTTP bearer

Path parameters

project_idstring required

Request body

target_urlstring required

Local or private-network app URL reachable from the frpc client, for example http://localhost:3000.

connection_purpose'interactive' | 'ci'

Interactive clients create Local; CI clients create Preview and retain their PR through run provenance.

Response

Reverse-proxy status plus the ensured Local or Preview environment.

Changes

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