Repo Settings
Viewer's runtime GitHub admin permission on a repo
Returns whether the authenticated user has permissions.admin on the repo, per GitHub. Used by the repo Settings page to decide whether to enable admin-only controls. Returns { canAdmin: false } if the viewer has no GitHub token or the GitHub call fails transiently.
get/api/v1/cache/{org}/{repo}/permissions
Path parameters
orgstring required
repostring required
Response
Viewer's permission result
Changes
No recorded changes to this endpoint across all 1 revision of this API.