Skip to main content

legacy_projects

Overview

Namelegacy_projects
TypeResource
Idgithub.teams.legacy_projects

Fields

NameDatatypeDescription
idinteger
namestring
creatorobjectSimple User
bodystring
numberinteger
owner_urlstring
permissionsobject
statestring
html_urlstring
updated_atstring
urlstring
privatebooleanWhether the project is private or not. Only present when owner is an organization.
organization_permissionstringThe organization permission for this project. Only present when owner is an organization.
node_idstring
columns_urlstring
created_atstring

Methods

NameAccessible byRequired ParamsDescription
list_projects_legacySELECTteam_idDeprecation 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_legacyDELETEproject_id, team_idDeprecation 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_legacyEXECproject_id, team_idDeprecation 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_legacyEXECproject_id, team_idDeprecation 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.