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}

Request

  • Base URL
    https://gogs.example.com/api/v1
  • Auth
    API key in header Authorization

Path parameters

ownerstring required

Owner of the repository

repostring required

Name of the repository

collaboratorstring required

Username to check

Response

User is a collaborator.

Changes

No recorded changes to this operation across all 3 revisions of this API.