Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request GET \ --url https://gogs.example.com/api/v1/repos/{owner}/{repo}/git/trees/{sha} \ --header 'Authorization: <api-key>'
{ "sha": "<string>", "url": "<string>", "tree": [ { "path": "<string>", "mode": "<string>", "type": "<string>", "size": 123, "sha": "<string>", "url": "<string>" } ] }
Personal access token. Use format: token {YOUR_ACCESS_TOKEN}
Repository owner
Repository name
Tree SHA
Success
Show child attributes