cURL
curl --request POST \ --url https://api.example.com/api/tree \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "repoName": "<string>", "revisionName": "<string>", "paths": [ "<string>" ] } '
{ "tree": { "type": "<string>", "path": "<string>", "name": "<string>", "children": "<array>" } }
Returns the file tree for a repository at a given revision.
Bearer authentication header of the form Bearer <token>, where <token> is your API key.
Bearer <token>
<token>
File tree for the requested repository revision.
Show child attributes
Was this page helpful?