review_hog

List reviews as a paginated table

Code reviews on this project as a paginated table: reviews with a completed turn plus reviews with a run in flight, ordered by last activity, so a review that starts or finishes moves to the top. Pages with limit and offset; count is the total across pages. Filters by repository, review_mode, status, and published. running_count counts the running reviews under every filter except status. By default only the requesting user's reviews; scope=everyone lists every review on the project.

get/api/projects/{project_id}/review_hog/reviews/table/

Request

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

Query parameters

limitinteger

Rows per page. Defaults to 25, at most 100.

offsetinteger

How many rows to skip, for paging through the table.

publishedboolean nullable

Only reviews whose latest completed turn was (true) or was not (false) published to GitHub.

repositorystring

Only reviews of this repository, as owner/repo. Matched case-insensitively.

review_mode'full' | 'flash'

Only reviews whose latest completed turn ran this mode: 'full' (Deep) or 'flash' (Standard). Turns that did not record their mode match neither value.

  • full - Deep
  • flash - Standard
scope'mine' | 'everyone'

Whose reviews to list: mine (the default) for reviews the requesting user ran plus reviews of pull requests they authored (matched via their linked GitHub login), everyone for every review on this project.

  • mine - Mine
  • everyone - Everyone
status'running' | 'completed'

Only reviews in this state: 'running' for reviews with a run in flight (activity within the last 30 minutes), 'completed' for reviews with a completed turn and nothing running now.

  • running - Running
  • completed - Completed

Response

One page of reviews, most recent activity first, with the total and running counts.

countinteger required

How many reviews match the scope and every filter, across all pages.

running_countinteger required

How many reviews have a run in flight under the scope and filters, ignoring status. Labels the running quick filter without a second request.

Changes

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