integrations

get/api/projects/{project_id}/integrations/{id}/github_branches/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/integrations/{id}/github_branches/
  • Auth: HTTP bearer

Path parameters

idinteger required

A unique integer value identifying this integration.

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

Maximum number of branches to return

offsetinteger

Number of branches to skip

repostring required

Repository in owner/repo format

searchstring

Optional case-insensitive branch name search query.

Response

branchesstring[] required

List of branch names

default_branchstring nullable

The default branch of the repository

has_moreboolean required

Whether more branches exist beyond the returned page

Changes

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