collaborators
Overview
Name | collaborators |
Type | Resource |
Id | github.projects.collaborators |
Fields
Name | Datatype |
---|---|
id | integer |
name | string |
followers_url | string |
login | string |
url | string |
events_url | string |
following_url | string |
starred_url | string |
gravatar_id | string |
received_events_url | string |
gists_url | string |
email | string |
type | string |
avatar_url | string |
html_url | string |
repos_url | string |
subscriptions_url | string |
organizations_url | string |
starred_at | string |
site_admin | boolean |
node_id | string |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list_collaborators | SELECT | project_id | Lists the collaborators for an organization project. For a project, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners. You must be an organization owner or a project admin to list collaborators. |
add_collaborator | INSERT | project_id, username | Adds a collaborator to an organization project and sets their permission level. You must be an organization owner or a project admin to add a collaborator. |
remove_collaborator | DELETE | project_id, username | Removes a collaborator from an organization project. You must be an organization owner or a project admin to remove a collaborator. |