Repository Manipulation
Get file tree snapshot
GET
/
repos
/
{repo_id}
/
trees
/
{ref_id}
Authorizations
Authorization
string
headerrequiredThis API uses OAuth 2 with the implicit grant flow
Path Parameters
repo_id
string
requiredThe 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_id
string
requiredAn ID of a workspace, branch or commit.
Response
200 - application/json
items
object[]
object
enum<string>
Available options:
Repo
, Branch
, Workspace
, Commit
, FileEntry
, ConflictIndex
, Merge
, ComparisonItem