cURL
curl --request GET \ --url https://gogs.example.com/api/v1/repos/{owner}/{repo}/collaborators/{collaborator} \ --header 'Authorization: <api-key>'
Returns 204 if the user is a collaborator, 404 if not.
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}
Owner of the repository
Name of the repository
Username to check
User is a collaborator.