review_hog

Update the project's code review rule

Partially update the project rule. Only the provided fields change. Project admins only.

patch/api/projects/{project_id}/review_hog/project_settings/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/review_hog/project_settings/
  • Auth: none declared

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

flash_for'everyone' | 'listed' | 'off'
  • everyone - Automatic Flash for everyone
  • listed - Automatic Flash for these people
  • off - Automatic Flash opt-in only
bot_prs'skip' | 'run'
  • skip - Not reviewed
  • run - Automatic Flash
urgency_threshold'consider' | 'should_fix' | 'must_fix'
  • consider - Consider (all)
  • should_fix - Should fix
  • must_fix - Must fix
celebrate_clean_reviewsboolean

Project default for the image in a Deep review that finds nothing to raise. On by default. A person's own value wins.

can_editboolean

Whether the requesting user is a project admin and can change these settings.

Response

The updated rule.

flash_for'everyone' | 'listed' | 'off'
  • everyone - Automatic Flash for everyone
  • listed - Automatic Flash for these people
  • off - Automatic Flash opt-in only
bot_prs'skip' | 'run'
  • skip - Not reviewed
  • run - Automatic Flash
urgency_threshold'consider' | 'should_fix' | 'must_fix'
  • consider - Consider (all)
  • should_fix - Should fix
  • must_fix - Must fix
celebrate_clean_reviewsboolean

Project default for the image in a Deep review that finds nothing to raise. On by default. A person's own value wins.

can_editboolean required

Whether the requesting user is a project admin and can change these settings.

Changes

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