review_hog

Set my choice for a repository

Set the requesting user's own automatic review for their pull requests in one repository. It wins over their default and over the repository and project rules.

post/api/projects/{project_id}/review_hog/repository_choices/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/review_hog/repository_choices/
  • 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/.

Request body

installation_idstring required

The GitHub App installation.

full_namestring required

GitHub repository in 'owner/name' form.

github_repo_idinteger

GitHub's repository id.

mode'flash' | 'off' required
  • flash - Flash
  • off - Off

Response

Saved.

Changes

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