Can't get namespace of a subgroup by its path
Summary
I have some groups tree - group with subgroups

I want to get namespaces via API https://gitlab.com/help/api/namespaces.md
When I get list of namespaces, I receive all namespaces (including subgroups) - that's good

When I want to get one namespace by ID or path, then:
- group "z" by ID - OK
- group "z" by path - OK
- group "b" (subgroup of "z") by ID - OK
- group "b" (subgroup of "z") by path - ERROR
- group "w" (subgroup of "b") by ID - OK
- group "w" (subgroup of "b") by path - ERROR
So getting namespace of a group which is a subgroup doesn't work. But search by path is working

I need exactly get namespace of a group (no matter - it is a parent or subgroup) by its path.
UPD: The same thing happens when getting a group by path:
https://example.com/api/v4/groups/z - OK
https://example.com/api/v4/groups/b - ERROR
https://example.com/api/v4/groups/w - ERROR
Edited by Oleksandr Trelin





