Git

Get a file tree

Returns the file tree for a repository at a given revision.

post/api/tree

Request

  • The document declares no server URL.
  • Auth
    • HTTP bearer
    • or API key in header X-Sourcebot-Api-Key
    • or none

Request body

repoNamestring required
revisionNamestring required
pathsstring[] required

Response

File tree for the requested repository revision.

Changes

No recorded changes to this operation across all 2 revisions of this API.