cURL
curl --request GET \ --url https://gogs.example.com/api/v1/repos/{owner}/{repo}/labels \ --header 'Authorization: <api-key>'
[ { "id": 123, "name": "<string>", "color": "<string>", "url": "<string>" } ]
Documentation IndexFetch the complete documentation index at: https://gogs.io/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://gogs.io/llms.txt
Use this file to discover all available pages before exploring further.
Personal access token. Use format: token {YOUR_ACCESS_TOKEN}
Repository owner
Repository name
Success