9 Replies Latest reply on Jun 2, 2014 11:31 AM by wkoepcke

    REST API - StreamEntity returns a list with one item


      "GET /places/{placeID}/followingIn" returns for me a list with one entry. Setting startIndex to 25 or to 50 will return the same list (with one entry) again. Also the startIndex and itemsPerPage entries are missing there.


      Is this a known issue?

      For announcements and a lot of other items setting startIndex works as expected, setting it too high will return an empty list. That's what I do expect also for followingIn. It works here because the list is empty.

      Update: It seems that this applies to all /places/{id}/nnn calls, so I wonder why we get a list here without the option to use pagination. This may also be the intended behaviour as the results are usually small while for places and people startIndex and count work.


      PS: As the "next" links are missing often even if there are additional pages they are not an option - I simply ignore them.



      Jive REST API v3.0 → Place service / Jive REST API v3.0 → Stream entity

      throw 'allowIllegalResourceCall is false.';
        "list" : [ {
          "name" : "New Stream",
        } ]



      Jive REST API v3.0 → Place service / Jive REST API v3.0 → Announcement entity

      throw 'allowIllegalResourceCall is false.';
        "list" : [ ],
        "startIndex" : 0,
        "itemsPerPage" : 25