Push GitHub-sourced files into the Brand Kit media library

Accepts a Synchronex-pushed batch of repo-relative files, rejects the whole request when no repo binding exists, and rejects individual files outside the registered path prefix while importing in-scope siblings. Imported assets use source imported with metadata.cloud_provider github.

post/brand-kit/github-ingest

Request

  • Base URL: https://sendinel.ai/api/v1
  • URL: https://sendinel.ai/api/v1/brand-kit/github-ingest
  • 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
refstring
brand_kit_idstring uuid nullable
collectionstring
tagsstring[]

Example request

{
  "repo": "owner/repo",
  "files": [
    {
      "path": "marketing/logos/wordmark.svg"
    }
  ]
}

Response

Per-file GitHub ingest results plus imported, failed, and rejected_out_of_scope counts

Changes

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