0 Replies Latest reply on Nov 23, 2016 6:31 AM by dpuscau

    How can I get the Space Administrators from a spaces via Jive API?

    dpuscau

      Hi,

       

      I would like to get all the administrators from a space via JIVE API.

       

      I tried based on space followers, to see which one have Full controll rights:

      curl -v -u username:password https://example.jiveon.com/api/core/v3/places/31317/followers

      , and based on the users id, I'm checking the entitlements

      curl -v -u username:password https://example.jiveon.com/api/core/v3/places/31317/entitlements/2003

      based on this document https://community.jivesoftware.com/docs/DOC-124769#jive_content_id_Place_Entitlements_for_a_Particular_User.

      The problem is not all the administrators are following that space.

       

      I had other approach. I saved in an object, all users id, and then I checked with one had admin rights in that space, based on entitlements, the same like the above example.

       

      If in UI is showing that: Jim, John, James are the administrators, in my script are showing them plus other users that have admin rights in Jive Instance: Jim, John, James, API user, Express.

       

      What Jive API request I can use to find the exact administrators?

       

      Diana