Download a repository snapshot without cloning the repo. This is useful for packaging docs, examples, or release artefacts directly from a branch, tag, or commit.
Deprecated: Use /api/repos/{repo_name}/archive instead.
Documentation Index
Fetch the complete documentation index at: https://code.storage/docs/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Request a .tar.gz snapshot of the repository at a branch, tag, or commit. Include and exclude globs let you shape the archive before it streams back.
Archive options describing the ref to snapshot and the include or exclude filters applied to the resulting tarball.
Branch, tag, or commit to archive. When omitted, the default branch or HEAD is used.
Optional archive output settings.
Exclude files matching these glob patterns after include filtering.
Glob pattern such as node_modules/**.
Only include files matching these glob patterns.
Glob pattern such as src/**/*.go.
Maximum blob size to include in the archive, in bytes.
A streamed .tar.gz archive of the resolved revision.
Gzip-compressed tar archive stream.