7 Replies Latest reply on May 6, 2016 10:01 AM by Scott A Johnson

    REST API - return replies / participated content

    it2000

      I'm trying to figure out whether users have created content. I'd like to use the contents API and avoid searching for *.

      It seems that the API does not work as expected.

       

      1. /people/USERNAME/content?filterID=participated ... shows the replies a user made. So the normal web UI offers this data.
      2. /api/core/v3/contents?filter=author(/people/USERID) ... shows the created content, but returns an empty list if the user only replied to questions
      3. /api/core/v3/contents?filter=author(/people/USERID)&filter=relationship(participated) ... same as above
      4. /api/core/v3/search/contents?filter=author(/people/USERID)&filter=search(*) ... returns the replies, the list is no longer empty

      REST API reference: Jive REST API v3.14 → Content service

       

      Currently I query "2." first and if there an empty list is returned I open query "4.".

       

      Any ideas about the relationship(participated) filter?