You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e754d2c
Browse filesBrowse the repository at this point in the historyBrowse files
refactor!: Pass the Projects v2 item body types by value and rename them to ...Request (#4609)
BREAKING CHANGE: `AddProjectItemOptions` and `UpdateProjectItemOptions` are renamed to `AddProjectItemRequest` and `UpdateProjectItemRequest` and passed by value; `AddProjectItemRequest.Type` is no longer a pointer; `UpdateProjectItemOptions.Archived` is removed.
// ListOrganizationProjectItems lists items for an organization owned project.
@@ -543,7 +543,7 @@ func (s *ProjectsService) ListOrganizationProjectItems(ctx context.Context, org
543
543
// GitHub API docs: https://docs.github.com/rest/projects/items?apiVersion=2022-11-28#add-item-to-organization-owned-project
544
544
//
545
545
//meta:operation POST /orgs/{org}/projectsV2/{project_number}/items
req, err:=s.client.NewRequest(ctx, "POST", u, body)
549
549
iferr!=nil {
@@ -590,7 +590,7 @@ func (s *ProjectsService) GetOrganizationProjectItem(ctx context.Context, org st
590
590
// GitHub API docs: https://docs.github.com/rest/projects/items?apiVersion=2022-11-28#update-project-item-for-organization
// GitHub API docs: https://docs.github.com/rest/projects/items?apiVersion=2022-11-28#add-item-to-user-owned-project
653
653
//
654
654
//meta:operation POST /users/{username}/projectsV2/{project_number}/items
// GitHub API docs: https://docs.github.com/rest/projects/items?apiVersion=2022-11-28#update-project-item-for-user
0 commit comments