3 Replies Latest reply on Dec 20, 2016 7:13 AM by mcollinge

    What is Content Type 2901?

    norick

      I'm collecting content from my instance using the /contents endpoint in the Jive REST API v3.14. I found 75 content posts with the type "2901". The resources.html.ref URLs for these content items point to different types (some are discussions, some are documents, some are poll, etc).

       

      Here is a sample of the returned JSON for one of these content items. The type is "2901", and resources.html.ref points to a document:

      {
        "entityType" : "2901",
        "id" : "1001",
        "resources" : {
          "entitlements" : {
            "allowed" : [ "GET" ],
            "ref" : "https://pisquare.osisoft.com/api/core/v3/contents/28329/entitlements"
          },
          "abuseReports" : {
            "allowed" : [ "POST" ],
            "ref" : "https://pisquare.osisoft.com/api/core/v3/contents/28329/abuseReports"
          },
          "followingIn" : {
            "allowed" : [ "GET", "POST" ],
            "ref" : "https://pisquare.osisoft.com/api/core/v3/contents/28329/followingIn"
          },
          "followers" : {
            "allowed" : [ "GET" ],
            "ref" : "https://pisquare.osisoft.com/api/core/v3/contents/28329/followers"
          },
          "self" : {
            "allowed" : [ "GET" ],
            "ref" : "https://pisquare.osisoft.com/api/core/v3/contents/28329"
          },
          "html" : {
            "allowed" : [ "GET" ],
            "ref" : "https://pisquare.osisoft.com/docs/DOC-1443"
          }
        },
        "followerCount" : 1,
        "followed" : false,
        "published" : "2015-04-26T16:19:43.205+0000",
        "tags" : [ ],
        "updated" : "2015-04-26T16:19:43.205+0000",
        "iconCss" : "jive-icon-doctype-generic",
        "parentPlace" : {
          "id" : "2081",
          "html" : "https://pisquare.osisoft.com/community/uc2015",
          "placeID" : "27696",
          "name" : "UC  2015",
          "type" : "space",
          "uri" : "https://pisquare.osisoft.com/api/core/v3/places/27696",
          "iconCss" : "jive-icon-space"
        },
        "contentID" : "28329",
        "author" : {
          "id" : "2030",
          "resources" : {
            "followingIn" : {
              "allowed" : [ "GET", "POST" ],
              "ref" : "https://pisquare.osisoft.com/api/core/v3/people/2030/followingIn"
            },
            "images" : {
              "allowed" : [ "GET" ],
              "ref" : "https://pisquare.osisoft.com/api/core/v3/people/2030/images"
            },
            "activity" : {
              "allowed" : [ "GET" ],
              "ref" : "https://pisquare.osisoft.com/api/core/v3/people/2030/activities"
            },
            "social" : {
              "allowed" : [ "GET" ],
              "ref" : "https://pisquare.osisoft.com/api/core/v3/people/2030/@social"
            },
            "recognition" : {
              "allowed" : [ "GET" ],
              "ref" : "https://pisquare.osisoft.com/api/core/v3/people/2030/@recognition"
            },
            "trendingContent" : {
              "allowed" : [ "GET" ],
              "ref" : "https://pisquare.osisoft.com/api/core/v3/people/2030/@trendingContent"
            },
            "trendingPlaces" : {
              "allowed" : [ "GET" ],
              "ref" : "https://pisquare.osisoft.com/api/core/v3/people/2030/@trendingPlaces"
            },
            "avatar" : {
              "allowed" : [ "GET" ],
              "ref" : "https://pisquare.osisoft.com/api/core/v3/people/2030/avatar?a=1160"
            },
            "followers" : {
              "allowed" : [ "GET" ],
              "ref" : "https://pisquare.osisoft.com/api/core/v3/people/2030/@followers"
            },
            "following" : {
              "allowed" : [ "GET" ],
              "ref" : "https://pisquare.osisoft.com/api/core/v3/people/2030/@following"
            },
            "members" : {
              "allowed" : [ "GET" ],
              "ref" : "https://pisquare.osisoft.com/api/core/v3/members/people/2030"
            },
            "self" : {
              "allowed" : [ "GET" ],
              "ref" : "https://pisquare.osisoft.com/api/core/v3/people/2030"
            },
            "html" : {
              "allowed" : [ "GET" ],
              "ref" : "https://pisquare.osisoft.com/people/dbard"
            },
            "extprops" : {
              "allowed" : [ "GET" ],
              "ref" : "https://pisquare.osisoft.com/api/core/v3/people/2030/extprops"
            }
          },
          "followerCount" : 56,
          "followed" : false,
          "tags" : [ "learning guru", "camtasia" ],
          "updated" : "2016-08-29T18:06:14.176+0000",
          "displayName" : "dbard",
          "mentionName" : "dbard",
          "followingCount" : 23,
          "jive" : {
            "enabled" : true,
            "external" : false,
            "federated" : true,
            "lastProfileUpdate" : "2015-07-06T16:49:13.985+0000",
            "locale" : "en",
            "externalContributor" : false,
            "profile" : [ {
              "jive_label" : "Title",
              "value" : "Learning Director",
              "jive_displayOrder" : 1,
              "jive_summaryDisplayOrder" : 0,
              "jive_showSummaryLabel" : true
            } ],
            "sendable" : true,
            "timeZone" : "America/Los_Angeles",
            "username" : "dbard",
            "visible" : true,
            "roleBadge" : {
              "groupBadgeUri" : "/resources/statics/rolebadges/roleBadge-4-1013-1430934071734.png",
              "groupBadgeRoleName" : "Employee",
              "type" : "roleBadge"
            },
            "status" : "registered"
          },
          "name" : { },
          "status" : "Want to know what picnics and the PI System have in common?  Check out my blog post Summer is the...",
          "thumbnailId" : "1160",
          "thumbnailUrl" : "https://pisquare.osisoft.com/api/core/v3/people/2030/avatar?a=1160",
          "type" : "person",
          "typeCode" : 3
        },
        "content" : {
          "text" : "<body><!-- [DocumentBodyStart:2c5f7102-db62-4dc5-873b-9db6ee1d1c24] --><div class=\"jive-rendered-content\"></div><!-- [DocumentBodyEnd:2c5f7102-db62-4dc5-873b-9db6ee1d1c24] --></body>",
          "editable" : false,
          "type" : "text/html"
        },
        "parent" : "https://pisquare.osisoft.com/api/core/v3/places/27696",
        "status" : "published",
        "subject" : "What is the PI Champion Program?",
        "viewCount" : 0,
        "visibleToExternalContributors" : false,
        "parentVisible" : true,
        "parentContentVisible" : true,
        "lastActivity" : 1430065183205,
        "abuseCount" : 0,
        "type" : "2901",
        "lastActivityDate" : "2015-04-26T16:19:43.205+0000"
      }