0 Replies Latest reply on Jul 2, 2015 6:40 AM by karthikodc

    Space hierarchy details

    karthikodc

      Hi,

       

      I want to get space hierarchy details which includes

      • who created the space(owner)
      • permission
      • URL of the space

      I tried but no success, Can someone help me in generating DB query or finding the proper API

      In rest API i'm not getting getting the permission and owner details. Please suggest me.

       

      {

          "id" : "2880",

          "resources" : {

            "entitlements" : {

              "allowed" : [ "GET" ],

              "ref" : "http://localhost/api/core/v3/places/39354/entitlements"

            },

            "followingIn" : {

              "allowed" : [ "POST", "GET" ],

              "ref" : "http://localhost/api/core/v3/places/39354/followingIn"

            },

            "activity" : {

              "allowed" : [ "GET" ],

              "ref" : "http://localhost/api/core/v3/places/39354/activities"

            },

            "avatar" : {

              "allowed" : [ "GET" ],

              "ref" : "http://localhost/api/core/v3/places/39354/avatar"

            },

            "blog" : {

              "allowed" : [ "GET" ],

              "ref" : "http://localhost/api/core/v3/places/39355"

            },

            "places" : {

              "allowed" : [ "GET" ],

              "ref" : "http://localhost/api/core/v3/places/39354/places"

            },

            "followers" : {

              "allowed" : [ "GET" ],

              "ref" : "http://localhost/api/core/v3/places/39354/followers"

            },

            "pages" : {

              "allowed" : [ "GET" ],

              "ref" : "http://localhost/api/core/v3/places/39354/pages"

            },

            "contents" : {

              "allowed" : [ "POST", "GET" ],

              "ref" : "http://localhost/api/core/v3/places/39354/contents"

            },

            "self" : {

              "allowed" : [ "GET" ],

              "ref" : "http://localhost/api/core/v3/places/39354"

            },

            "html" : {

              "allowed" : [ "GET" ],

              "ref" : "http://localhost/community/eti/eti-digital-enterprise-domain/social-text-web-intelligence-and-strategy/social-vendor-tracking/brandwatch"

            },

            "featuredContent" : {

              "allowed" : [ "GET" ],

              "ref" : "http://localhost/api/core/v3/places/39354/contents/featured"

            },

            "categories" : {

              "allowed" : [ "GET" ],

              "ref" : "http://localhost/api/core/v3/places/39354/categories"

            },

            "extprops" : {

              "allowed" : [ "GET" ],

              "ref" : "http://localhost/api/core/v3/places/39354/extprops"

            },

            "announcements" : {

              "allowed" : [ "GET" ],

              "ref" : "http://localhost/api/core/v3/places/39354/announcements"

            }

          },

          "followerCount" : 0,

          "followed" : false,

          "published" : "2014-02-21T16:29:31.081+0000",

          "tags" : [ ],

          "updated" : "2014-02-21T16:29:54.472+0000",

          "iconCss" : "jive-icon-space",

          "placeID" : "39354",

          "contentTypes" : [ "blog", "2901s", "documents", "files", "discussions", "polls", "projects", "events", "ideas", "videos" ],

          "description" : " ",

          "displayName" : "brandwatch",

          "name" : "Brandwatch",

          "parent" : "http://localhost/api/core/v3/places/1312",

          "status" : "Active",

          "viewCount" : 8,

          "visibleToExternalContributors" : false,

          "placeTopics" : [ ],

          "childCount" : 0,

          "locale" : "en_US",

          "type" : "space",

          "typeCode" : 14

        }