Register an approved GitHub repo path for Brand Kit ingest

Creates or updates a project-scoped repo/path_prefix binding that the GitHub ingest endpoint uses to validate every incoming file path.

post/brand-kit/github-connections

Request

  • Base URL: https://sendinel.ai/api/v1
  • URL: https://sendinel.ai/api/v1/brand-kit/github-connections
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://sendinel.ai/oauth/authorize, token URL https://sendinel.ai/oauth/token)

Request body

repostring required
path_prefixstring required
brand_kit_idstring uuid nullable

Example request

{
  "repo": "owner/repo",
  "path_prefix": "marketing"
}

Response

Registered GitHub connection

Changes

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