v5

latestSwagger 2.0MIT2026-08-03485217850.7 KB
repository

Get repository permissions for a user

get/repos/{owner}/{repo}/collaborators/{collaborator}/permission

Path parameters

ownerstring required

owner of the repo

repostring required

name of the repo

collaboratorstring required

username of the collaborator whose permissions are to be obtained

Response

RepoCollaboratorPermission

permission'none' | 'read' | 'write' | 'admin' | 'owner'

Permission level of the collaborator

role_namestring

RoleName is the name of the permission role