public List < GitlabProjectMember > getNamespaceMembers ( Integer namespaceId ) throws IOException { String tailUrl = GitlabGroup . URL + "/" + namespaceId + GitlabProjectMember . URL ; return Arrays . asList ( retrieve ( ) . to ( tailUrl , GitlabProjectMember [ ] . class ) ) ; }
This will fail if the given namespace is a user and not a group