4 Replies Latest reply on Jan 28, 2015 11:37 AM by jameswright

    Bug when getting contents by different place URIs using REST API

    alberto.f2f

      Hi Jive Developers,

       

      I'm trying to do REST API calls to get contents from places. I would like to use a single call search in different places. Reading the documentation, it seems that it's possible but all my tests are failing.

       

      The documentation says:

       

      place One or more place URIs, separated by commas.

      And there's an example with two places in a single call: ?filter=place(http://domain/api/core/v3/places/1006,http://domain/api/core/v3/places/1008)


      The search I'm trying to do is:

      https://jivecommunity-v7.uat5.hosted.jivesoftware.com/api/core/v3/contents?filter=place(https://jivecommunity-v7.uat5.hosted.jivesoftware.com/api/core/v3/places/209936,https://jivecommunity-v7.uat5.hosted.jivesoftware.com/api/core/v3/places/336023)

       

      If I do the search individually, I get contents from both, but in this case I just receive the following error with a 400 status:

      Invalid filter expression place(https://jivecommunity-v7.uat5.hosted.jivesoftware.com/api/core/v3/places/209936,https://jivecommunity-v7.uat5.hosted.jivesoftware.com/api/core/v3/places/336023)

       

      Let me know if you need some further information about this issue, I would be glad to provide it.

       

      Thanks,

      Alberto.