stamphog

Per-repo stamphog settings — enable/disable review, GitHub App installation, policy overrides.

get/api/projects/{project_id}/stamphog/repo_configs/install_info/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/stamphog/repo_configs/install_info/
  • Auth: HTTP bearer

Path parameters

project_idstring required

Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.

Response

app_slugstring required

URL-friendly slug of the dedicated Stamphog GitHub App, or blank if unconfigured.

install_urlstring required

GitHub install URL (github.com/apps/<slug>/installations/new) the 'Connect' button opens. The user picks a GitHub account there and chooses which repositories the App can reach, including an account where the App is already installed. Blank if the App slug is unconfigured.

authorize_urlstring required

GitHub authorize URL (github.com/login/oauth/authorize). GitHub's redirect after configuring an existing installation carries no OAuth code, so the client passes through this URL once: an installed App redirects straight back with a code, which sync_installation uses to prove ownership. Blank if the App client id is unconfigured.

Changes

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