Skip to main content
GET
/
github
/
tree
/
{owner}
/
{repo}
Github Tree
curl --request GET \
  --url https://apigcp.trynia.ai/v2/github/tree/{owner}/{repo}
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Path Parameters

owner
string
required
repo
string
required

Query Parameters

ref
string
default:HEAD

Branch, tag, or commit SHA

path
string | null

Subdirectory path

Response

Successful Response