review_hog

Save a repository's settings

Include a repository into this project, remove it, or set or clear its exception. Only the provided fields change. Including a repository that another project's 'all repositories' claim covers takes it from that project; the response names it.

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

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/review_hog/repositories/
  • 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 that sees the repository, from the overview.

full_namestring required

GitHub repository in 'owner/name' form, spelled as GitHub returns it.

github_repo_idinteger

GitHub's id of the repository, from the overview. Keeps renames.

selectedboolean

True includes the repository into this project, also when another project takes all repositories of the installation. False removes it; with an 'only selected' claim its exception goes too.

Response

The saved settings.

Changes

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