GET
/control-plane/api/v1/v1/organizations/{organization_id}/git-provider/repositories/{repository_id}/tree
Authentication
API Key (BearerAuth)
Header:
Authorization
Path Parameters
organization_idstringrequired
Organization ID
repository_idstringrequired
Repository ID
Query Parameters
branchstring
Branch name (defaults to default branch)
pathstring
Path within repository (defaults to root)
Responses
200
OK
Example:
[
{
"download_url": "string",
"name": "string",
"path": "string",
"sha": "string",
"size": 0,
"type": "string"
}
]400
Bad Request
Example:
{
"key": "value"
}401
Unauthorized
Example:
{
"key": "value"
}404
Not Found
Example:
{
"key": "value"
}