business_knowledge

Replace the repositories business knowledge can read

Every name must be a repository the connected installation can see. Names are stored lowercased.

post/api/projects/{project_id}/business_knowledge/repositories/selection/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/business_knowledge/repositories/selection/
  • 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

reposstring[] required

owner/repo names to allow. At most 100. Replaces the current list.

Response

connectedboolean required

True when a GitHub installation is connected for this environment.

integration_idinteger nullable required

Connected GitHub integration id, or null when GitHub is not connected.

integration_namestring required

GitHub account name for the connected installation. Empty when GitHub is not connected.

reposstring[] required

Lowercased owner/repo names business knowledge is allowed to read.

Changes

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