Skip to content

Add group members counting related data on namespaces API

This MR adds the information of members_count and parent_id on Namespace::Entity in order to being consumed by GET /namespaces endpoint. This data will be primarily used by customers.gitlab.com.

Note that using GET /namespaces instead GET /groups endpoint give us the ability of having User#namespace and Groups information with a single request.

Backport MR https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/2284

What are the relevant issue numbers?

https://gitlab.com/gitlab-com/customers-gitlab-com/issues/122 and https://gitlab.com/gitlab-com/customers-gitlab-com/issues/123.

Edited by Oswaldo Ferreir

Merge request reports