Get content. List of supported entities: Articles, Blogs, CMS Pages, Wikis, Files, Videos, Ideas, Photos, Albums, Forums, Forum Groups, Forum Topics, Forum Posts. Valid for Communifire version 5.2 and above.
GET https://myintranet.communifire.com/api/content/2304
Content JSON object is returned as ResponseData. Note that some properties are removed from this sample to make it shorter.
{ "IsError": false, "ResponseMessage": "", "ResponseData": { "ContentID": 97, "EntityType": 3, "ContentTypeID": 3, "ContentTitle": "Jupiter Facts", "ContentStub": "jupiter-facts", "ContentBody": "<p>Jupiter is the fifth planet from the Sun and the largest in the Solar System.</p>", "ContentBodyUnprocessed": "<p>Jupiter is the fifth planet from the Sun and the largest in the Solar System.</p>", "ContentSummary": "Jupiter is the fifth planet from the Sun and the largest in the Solar System.", "AuthorID": 1, "AuthorUserName": "admin", "UpdatedByUserID": 1, "UpdatedByUserDisplayName": "Alexis Fox", "UpdatedByUserUsername": "admin", "UpdatedByUserEmail": "alexis@axerosolutions.com", "UpdatedByUserFirstName": "Alexis", "UpdatedByUserLastName": "Fox", "UpdatedByUserAvatarImageUrl": "https://myintranet.communifire.com/Assets/Uploaded-Photos/1/b9eefa3d-a125-4aa9-8f2d-b4765ea46ce5.png", "UpdatedByUserProfileUrl": "https://myintranet.communifire.com/people/admin", "CategoryID": 3, "ContentVersionID": 1, "SpaceID": 0, "WorkflowID": 0, "CurrentWorkflowStepID": 0, "StatusID": 1, "DateCreated": "2020-01-20T16:46:44.883", "DatePublished": "2020-01-20T16:46:44.883", "DateUpdated": "2020-01-20T16:46:44.883", "IsFeatured": false, "ViewCount": 1, "CommentCount": 0, "Rating": 0, "MetaTitle": "Jupiter Facts", "MetaDescription": "Jupiter is the fifth planet from the Sun and the largest in the Solar System.", "MetaKeywords": "", "ContentFeaturedImage": "bb728671-6226-4e91-a8e9-82bc9a290f0e.png", "ContentThumbImage": "bb728671-6226-4e91-a8e9-82bc9a290f0e.png", "ContentFeaturedImageFullURL": "https://myintranet.communifire.com/Assets/Uploaded-CMS-Files/bb728671-6226-4e91-a8e9-82bc9a290f0e.png", "ContentThumbImageFullURL": "https://myintranet.communifire.com/Assets/Uploaded-CMS-Files/bb728671-6226-4e91-a8e9-82bc9a290f0e.png", "PageH1Content": "", "HeadCustomContent": "", "SideBarContent": "", "ContentExternalID": "", "ExtraSideBarContent": "", "ExternalURL": "", "AllowAnonymousComments": false, "ContentMediaServerID": 3, "ContentMediaServerRootURL": "https://myintranet.communifire.com/Assets/Uploaded-CMS-Files", "CategoryName": "News", "CategoryStub": "news", "AuthorDisplayName": "Alexis Fox", "AuthorEmail": "alexis@axerosolutions.com", "AuthorFirstName": "Alexis", "AuthorLastName": "Fox", "AuthorAvatarImageUrl": "https://myintranet.communifire.com/Assets/Uploaded-Photos/1/b9eefa3d-a125-4aa9-8f2d-b4765ea46ce5.png", "AuthorProfileUrl": "https://myintranet.communifire.com/people/admin", "TagsCSV": "", "DateCreatedString": "38 minutes ago", "DateCreatedShortString": "38 minutes ago", "DatePublishedString": "38 minutes ago", "DatePublishedShortString": "38 minutes ago", "DateUpdatedString": "38 minutes ago", "DateUpdatedShortString": "38 minutes ago", "ContentURL": "https://myintranet.communifire.com/articles/news/97/jupiter-facts", "ContentVersionURL": "/articles/news/97/jupiter-facts?versionid=1", "IsPublishedFromDraftMode": false, "ParentCategoryID": 0, "IsPublishedFromUnderProcessingMode": false, "IsBeingAddedViaExternalSource": false, "IsWallContent": false, "RequiresReadConfirmation": false, "HasRead": false, "ContentTypeIconCSSClass": "icon-file", "IsEditable": true, "IsWOPI": false, "IsDeletable": true, "IsDownloadable": false, "IsChekoutable": false, "IsUndochekoutable": false, "IsChekinable": false, "IsRestoreable": false, "IsPurgeable": false, "IsHistoryViewable": true, "IsMoveable": false, "IsChildContentCreationAllowed": false, "IsContentCreationAllowed": false, "ContentMediaOnlineViewUrl": "", "ContentMediaUrl": "", "ContentHistoryUrl": "https://myintranet.communifire.com/content/history/97", "GoogleDocsEditUrl": "javascript:PopupCenter('/AjaxTemplates/GoogleDocsFile.aspx?cid=97&vid=1','Google Docs',800,600)", "ViewerVote": 0, "VoteCount": 0, "IsDirectory": false, "IsActivityStreamAlbum": false, "LastChildAuthorUserID": 0, "LastGrandChildAuthorUserID": 0, "TotalChildRecords": 0, "TotalGrandChildRecords": 0, "IsSticky": false, "IsAnswered": false, "AuthorRankImageUrl": "https://myintranet.communifire.com/Assets/Uploaded-Photos/rank-lurker.gif", "AuthorRankName": "Guru", "IsContentAvailablePostExpiry": true, "ContentIDCode": "zd6s39z47Z%2BVCX27Jk2IPg%3D%3D", "SystemName": "", "IsExternalContent": false, "TenantID": 1 } }
Please Note The content type that you pass in the header of your request should be application/json.
is requesting access to a wiki that you have locked: https://my.axerosolutions.com/spaces/5/communifire-documentation/wiki/view/592/rest-api-get-content?locale=en-US%2525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252f1%2525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252f1%2525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252f1%2525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252f1
Your session has expired. You are being logged out.