@dericeira It looks like it hasn't been implemented yet. It should be possible to tie things together using the parent_id for a subgroup to determine it's parent group.
Would you be willing to provide this functionality by creating a Merge Request for the Community Edition project?
@dericeira Each group result will have an id and a parent_id attribute. If this is populated (not null), you know that the group is a subgroup and not a top-level group. You can use this ID to match up it's parent and build up your tree of groups.
@markglenfletcher Got it. This is weird. In my company we have a private repository with about 10 subgroups, totaling more than 250 projects. On this route I can only list the parent repositories. I don't know, but maybe It will only work with public groups.
Not a possible. I have owner status in all groups and subgroups. I am using the correct access key, on /groups route I can only see the 3 main groups of our parent group.
@markglenfletcher, I am experiencing the same issue as @dericeira. From the public API, https://gitlab.com/api/v4/groups, I see the results with subgroups listed. Inside my company we are using the GitLab Enterprise Edition (9.4.4). I do not see any subgroups with a similar request. If I include ?all_available=true, I do get subgroups. However, I will now need to sort through several hundred groups to find the groups and subgroups I am interested in. This is too cumbersome.
@justgrumpy Yes, the example is merely a workaround for the current implementation. The feature proposal here still stands to implement this properly to list subgroups beneath the parent group.
GitLab is moving all development for both GitLab Community Edition
and Enterprise Edition into a single codebase. The current
gitlab-ce repository will become a read-only mirror, without any
proprietary code. All development is moved to the current
gitlab-ee repository, which we will rename to just gitlab in the
coming weeks. As part of this migration, issues will be moved to the
current gitlab-ee project.
If you have any questions about all of this, please ask them in our
dedicated FAQ issue.
Using "gitlab" and "gitlab-ce" would be confusing, so we decided to
rename gitlab-ce to gitlab-foss to make the purpose of this FOSS
repository more clear
I created a merge requests for CE, and this got closed. What do I
need to do?
Everything in the ee/ directory is proprietary. Everything else is
free and open source software. If your merge request does not change
anything in the ee/ directory, the process of contributing changes
is the same as when using the gitlab-ce repository.
Will you accept merge requests on the gitlab-ce/gitlab-foss project
after it has been renamed?
No. Merge requests submitted to this project will be closed automatically.
Will I still be able to view old issues and merge requests in
gitlab-ce/gitlab-foss?
Yes.
How will this affect users of GitLab CE using Omnibus?
No changes will be necessary, as the packages built remain the same.
How will this affect users of GitLab CE that build from source?
Once the project has been renamed, you will need to change your Git
remotes to use this new URL. GitLab will take care of redirecting Git
operations so there is no hard deadline, but we recommend doing this
as soon as the projects have been renamed.
Where can I see a timeline of the remaining steps?