Stasis
Code

Get tree

Get file tree for a reference

GET
/api/v1/repos/{owner}/{repo}/tree/{ref}

Path Parameters

owner*string
repo*string
ref*string

Response Body

application/json

curl -X GET "https://example.com/api/v1/repos/string/string/tree/string"
{
  "entries": [
    {
      "hash": "string",
      "mode": "string",
      "name": "string",
      "path": "string",
      "size": 0,
      "type": "string"
    }
  ],
  "path": "string",
  "ref": "string",
  "total": 0
}
Empty
Empty