code: public List<Namespace> findNamespaces(String query, int page, int perPage) throws GitLabApiException {
          GitLabApiForm formData = new GitLabApiForm().withParam("search", query, true).withParam(PAGE_PARAM,  page).withParam(PER_PAGE_PARAM,  perPage);
          Response response = get(Response.Status.OK, formData.asMap(), "namespaces");
          return (response.readEntity(new GenericType<List<Namespace>>() {}));
      }
docs: Get all namespaces that match a string in their name or path in the specified page range.
  
  <pre><code>GitLab Endpoint: GET /namespaces?search=:query</code></pre>
  
  @param query the search string
  @param page the page to get
  @param perPage the number of Namespace instances per page
  @return the Namespace List with the matching namespaces
  @throws GitLabApiException if any exception occurs