Skip to main content
GET
/
repos
/
{owner}
/
{repo}
/
collaborators
List collaborators
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
    }
  }
]

Authorizations

Authorization
string
header
required

Personal access token. Use format: token {YOUR_ACCESS_TOKEN}

Path Parameters

owner
string
required

Repository owner

repo
string
required

Repository name

Response

Success

id
integer
username
string
login
string

Alias of username for GitHub API compatibility

full_name
string
email
string<email>
avatar_url
string
permissions
object