curl --request GET \
--url https://gogs.example.com/api/v1/repos/{owner}/{repo}/collaborators \
--header 'Authorization: <api-key>'[
{
"id": 123,
"username": "<string>",
"login": "<string>",
"full_name": "<string>",
"email": "[email protected]",
"avatar_url": "<string>",
"permissions": {
"admin": true,
"push": true,
"pull": true
}
}
]curl --request GET \
--url https://gogs.example.com/api/v1/repos/{owner}/{repo}/collaborators \
--header 'Authorization: <api-key>'[
{
"id": 123,
"username": "<string>",
"login": "<string>",
"full_name": "<string>",
"email": "[email protected]",
"avatar_url": "<string>",
"permissions": {
"admin": true,
"push": true,
"pull": true
}
}
]Personal access token. Use format: token {YOUR_ACCESS_TOKEN}