business_knowledge
Read a file from a selected GitHub repository
Reads one file whose path is in the cached file list, at the cached commit. The path must come from the repository search.
get/api/projects/{project_id}/business_knowledge/repositories/file/
Request
- Base URL: https://us.posthog.com
- URL: https://us.posthog.com/api/projects/{project_id}/business_knowledge/repositories/file/
- 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
pathstring required
File path returned by the repository search.
repostring required
owner/repo to read. It must already be selected.
Response
Changes
No recorded changes to this operation across all 1 revision of this API.