Commit Pack
Create a commit by streaming file operations directly to the service. This is designed for automation, AI agents, and other workflows that need atomic Git writes without running a local Git process.
Deprecated: Use /api/repos/{repo_name}/commit-pack instead.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Send newline-delimited JSON where the first line is a metadata object and each following line is a blob_chunk. This lets you stream file contents without a local Git client.
NDJSON stream. The first line must be metadata; subsequent lines must be blob_chunk payloads. Decoded blob chunks are limited to 4 MiB each.