provider integrations GET /api/projects/{project_id}/integrations/{id}/github_branches/
@utdk/posthog /api/projects/{project_id}/integrations/{id}/github_branches/
integrations_github_branches_retrieve
id path required
A unique integer value identifying this integration.
integer
limit query
Maximum number of branches to return
integer
offset query
Number of branches to skip
integer
project_id path required
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
string
repo query required
Repository in owner/repo format
string
search query
Optional case-insensitive branch name search query.
string

Try it

Authentication
Configure credentials for PostHog API
integrationsGithubBranchesRetrieve
GET/api/projects/{project_id}/integrations/{id}/github_branches/

Parameters

required

A unique integer value identifying this integration.

required

Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.

Maximum number of branches to return

Number of branches to skip

required

Repository in owner/repo format

Optional case-insensitive branch name search query.

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import posthog from '@utdk/posthog';

await posthog.integrationsGithubBranchesRetrieve({
  "limit": 100,
  "offset": 0
})