projects
Overview
Name | projects |
Type | Resource |
Id | github.teams.projects |
Fields
Name | Datatype | Description |
---|---|---|
id | integer | |
name | string | |
body | string | |
columns_url | string | |
created_at | string | |
creator | object | A GitHub user. |
html_url | string | |
node_id | string | |
number | integer | |
organization_permission | string | The organization permission for this project. Only present when owner is an organization. |
owner_url | string | |
permissions | object | |
private | boolean | Whether the project is private or not. Only present when owner is an organization. |
state | string | |
updated_at | string | |
url | string |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list_projects_in_org | SELECT | org, team_slug | Lists the organization projects for a team. Note: You can also specify a team by org_id and team_id using the route GET /organizations/{org_id}/team/{team_id}/projects . |
list_projects_legacy | SELECT | team_id | Deprecation Notice: This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new List team projects endpoint.Lists the organization projects for a team. |
remove_project_in_org | DELETE | org, project_id, team_slug | Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have read access to both the team and project, or admin access to the team or project. This endpoint removes the project from the team, but does not delete the project.Note: You can also specify a team by org_id and team_id using the route DELETE /organizations/{org_id}/team/{team_id}/projects/{project_id} . |
remove_project_legacy | EXEC | project_id, team_id | Deprecation Notice: This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new Remove a project from a team endpoint. Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have read access to both the team and project, or admin access to the team or project. Note: This endpoint removes the project from the team, but does not delete it. |