legacy_projects
Overview
Name | legacy_projects |
Type | Resource |
Id | github.teams.legacy_projects |
Fields
Name | Datatype | Description |
---|---|---|
id | integer | |
name | string | |
creator | object | Simple User |
body | string | |
number | integer | |
owner_url | string | |
permissions | object | |
state | string | |
html_url | string | |
updated_at | string | |
url | string | |
private | boolean | Whether the project is private or not. Only present when owner is an organization. |
organization_permission | string | The organization permission for this project. Only present when owner is an organization. |
node_id | string | |
columns_url | string | |
created_at | string |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
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_legacy | DELETE | 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. |
add_or_update_project_permissions_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 Add or update team project permissions endpoint. Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have admin permissions for the project. The project and team must be part of the same organization. |
check_permissions_for_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 Check team permissions for a project endpoint. Checks whether a team has read , write , or admin permissions for an organization project. The response includes projects inherited from a parent team. |