code: public CMAArray<CMAContentType> fetchAll(
        String spaceId,
        String environmentId,
        Map<String, String> query) {
      assertNotNull(spaceId, "spaceId");
      DefaultQueryParameter.putIfNotSet(query, DefaultQueryParameter.FETCH);
      return service.fetchAll(spaceId, environmentId, query).blockingFirst();
    }
docs: Fetch all Content Types from a Space with query parameters.
  
  @param spaceId       Space ID
  @param environmentId Environment ID
  @param query         Query to narrow down the content_types to be searched for
  @return {@link CMAArray} result instance
  @throws IllegalArgumentException if spaceId is null.
  @throws IllegalArgumentException if environmentId is null.