Add groups endpoint for Projects API
Contributes to https://gitlab.com/gitlab-org/gitlab/-/issues/28902 * Add `ProjectGroupFinder` to fetch ancestor and shared groups for the project * Add `projects/:id/groups` endpoint to Project API * Add documentation for the new endpoint
显示
- app/finders/projects/groups_finder.rb 68 个添加, 0 个删除app/finders/projects/groups_finder.rb
- changelogs/unreleased/28902_extend_group_api.yml 5 个添加, 0 个删除changelogs/unreleased/28902_extend_group_api.yml
- doc/api/projects.md 37 个添加, 0 个删除doc/api/projects.md
- lib/api/entities/public_group_details.rb 12 个添加, 0 个删除lib/api/entities/public_group_details.rb
- lib/api/projects.rb 30 个添加, 0 个删除lib/api/projects.rb
- spec/finders/projects/groups_finder_spec.rb 103 个添加, 0 个删除spec/finders/projects/groups_finder_spec.rb
- spec/lib/api/entities/public_group_details_spec.rb 24 个添加, 0 个删除spec/lib/api/entities/public_group_details_spec.rb
- spec/requests/api/projects_spec.rb 114 个添加, 0 个删除spec/requests/api/projects_spec.rb
加载中
想要评论请 注册 或 登录