v1

latestOpenAPI 3.0.32026-07-22115106141.4 KB
Repository Manipulation

Get blob contents snapshot. Either one of workspace, branch or commit ID needs to be specified.

get/repos/{repo_id}/blobs/{ref_id}/{path}

Path parameters

repo_idstring required
Example:example_id

The repo ID of the repository. Repo name can be used instead of the ID, but usage of ID for permanent linking and API requests is preferred.

ref_idstring required
Example:example_id

An ID of a workspace, branch or commit.

pathstring path required
Example:/path/to/file

A path to an item inside the repository.

Response

File contents