4 Replies Latest reply on Mar 9, 2015 6:29 AM by c.wilke

    API call filtering by content type


      Hi! I am running into an issue when trying to retrieve the posts within a group filtering by the type of content. I’m calling this endpoint: https://my.community.com/api/core/v3/places/117976/contents?filter=type(post) And I get in the results things that are not posts:

      … ·        

      parent: https://my.community.com/api/core/v3/places/117976

      ·         replyCount: 0

      ·         status: "published"

      ·         subject: "This is a test"

      ·         viewCount: 1

      ·         visibleToExternalContributors: false

      ·         type: "update"


      and …

      ·         attachments: [ ]

      ·         question: true

      ·         resolved: "open"

      ·         restrictReplies: false

      ·         type: "discussion"  


      And just to test, when I call the endpoint: https://my.community.com/api/core/v3/places/117976/contents?filter=type(discussion)  


      I get the same results containing the item with the type=update. I would have expected to get only the discussion element. 

      Is this behavior expected? Please advise