Skip to content

Add "members_count" and "parent_id" data on namespaces API

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

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.

What are the relevant issue numbers?

Edited by Oswaldo Ferreir

Merge request reports