Check if a user is a collaborator
curl --request GET \
--url https://gogs.example.com/api/v1/repos/{owner}/{repo}/collaborators/{collaborator} \
--header 'Authorization: <api-key>'Collaborators and deploy keys
Check if a user is a collaborator
Returns 204 if the user is a collaborator, 404 if not.
GET
/
repos
/
{owner}
/
{repo}
/
collaborators
/
{collaborator}
Check if a user is a collaborator
curl --request GET \
--url https://gogs.example.com/api/v1/repos/{owner}/{repo}/collaborators/{collaborator} \
--header 'Authorization: <api-key>'