Skip to content

Commit 10b097f

Browse files
feat: Add remaining Projects v2 endpoints
Add the eight Projects v2 REST endpoints that were present in the OpenAPI description but not yet implemented, completing the ProjectsService surface: - Create draft item (organization and user owned projects) - Add field (organization and user owned projects) - Create view (organization and user owned projects) - List items for a project view (organization and user owned projects) Drafts and view items reuse ProjectV2Item, fields reuse ProjectV2Field, and a new ProjectV2View type plus request types for the create/add operations are added. Request bodies are passed by value with a Request suffix per the paramcheck convention. Note the user-owned draft and view endpoints identify the user by the numeric user_id in the path (/user/{user_id}/... and /users/{user_id}/...), mirroring the upstream REST API, unlike the username-based paths used by the other user endpoints. Fixes google#3715
1 parent 8111735 commit 10b097f

6 files changed

Lines changed: 1591 additions & 0 deletions

File tree

‎github/github-accessors.go‎

Lines changed: 296 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)