2 Replies Latest reply on Sep 3, 2017 11:42 PM by o.wagner

    REST API /search/contents - category filter not working

    o.wagner

      Hi,

       

      in Jive SBS 9.0.1.0 I'm trying to use the category filter on the v3 /search/contents endpoint as documented here: https://developers.jivesoftware.com/api/v3/cloud/rest/SearchService.html, but it seems not to work.

       

      Example:

      {baseUrl}/api/core/v3/search/contents?filter=search(anyTerm)&filter=place(/places/{placeId})&filter=category(awesome)

      Response:

      { "error" : { "code" : "filterInvalid", "message" : "Invalid filter expression category(awesome)", "status" : 400 } }

      After doing a quick look into the sources, it seems like the category filter is documented but not valid, because the Map where valid filters (contentAppliers) are defined does not contain any "category" entry.

      I really need to filter content by categories (and in the best case also by tags), has anyone ever successfully filtered by categories?

       

      Thanks

      Onke