Github API - Test Config

GET /projects/{project_id}/collaborators/{username}/permission
users
projects

Returns the collaborator's permission level for an organization project. Possible values for the permission key: admin, write, read, none. You must be an organization owner or a project admin to review a user's permission level.
Get project permission for a user

Arguments
key project-id

project-id [scalar]

The unique identifier of the project.

API:
Github Open API
(version: 1.1.4)

key username

username [scalar]

The handle for the GitHub user account.

API:
Github Open API
(version: 1.1.4)

Returns
200 application/json project-collaborator-permission

project-collaborator-permission [object]

Project Collaborator Permission

Attributes
permission string

API:
Github Open API
(version: 1.1.4)
304 not_modified

not_modified [scalar]

Not modified

API:
Github Open API
(version: 1.1.4)
401 requires_authentication

requires_authentication [scalar]

Requires authentication

API:
Github Open API
(version: 1.1.4)
403 forbidden

forbidden [scalar]

Forbidden

API:
Github Open API
(version: 1.1.4)
404 not_found

not_found [scalar]

Resource not found

API:
Github Open API
(version: 1.1.4)
422 validation_failed

validation_failed [scalar]

Validation failed, or the endpoint has been spammed.

API:
Github Open API
(version: 1.1.4)
API:
Github Open API
(version: 1.1.4)