Important announcement: My Axero (my.axerosolutioons.com) will be unavailable Tuesday 3/27/2023 from 9.30pm ET until approximately 11.30pm ET.
Adds an attachment to wall post. Valid for Communifire version 6.0 and above.
Example URL to POST: https://your-community.com/api/spaces/1/wall/1/files?directoryid=17
{ "IsError": false, "ResponseData": [ { "ContentID": 111, "EntityType": 14, "ContentTypeID": 14, "ContentTitle": "photo-1499828885920-db68c59fa4ab.jpg", "ContentStub": "photo-1499828885920-db68c59fa4ab-jpg", "ContentBody": "", "ContentBodyUnprocessed": "", "ContentSummary": "", "AuthorID": 4, "AuthorUserName": "aparna", "UpdatedByUserID": 4, "UpdatedByUserDisplayName": "Aparna Anand", "UpdatedByUserUsername": "aparna", "UpdatedByUserEmail": "aparna@axerosolutions.com", "UpdatedByUserFirstName": "Aparna", "UpdatedByUserLastName": "anand", "UpdatedByUserAvatarImageUrl": "https://your-community.com/assets/Themes/default/images/avatar-default.jpg", "UpdatedByUserProfileUrl": "https://your-community.com/people/aparna", "ParentContentID": 17, "ContentVersionID": 1, "SpaceID": 1, "WorkflowID": 0, "CurrentWorkflowStepID": 0, "StatusID": 1, "DateCreated": "2019-07-20T12:52:15.637", "DatePublished": "2019-07-20T12:52:15.637", "DateUpdated": "2019-07-20T12:52:15.637", "IsFeatured": false, "ViewCount": 0, "CommentCount": 0, "Rating": 0, "MetaTitle": "photo-1499828885920-db68c59fa4ab.jpg", "MetaDescription": "", "MetaKeywords": "", "PageH1Content": "", "HeadCustomContent": "", "SideBarContent": "", "ExtraSideBarContent": "", "ContentMediaServerID": 3, "ContentMediaFileName": "07c1b9df-c17b-4832-b61b-fd1eea6c0279.jpg", "ContentMediaServerRootURL": "https://your-community.com/Assets/Uploaded-Files", "SpaceName": "public space", "SpaceURL": "https://your-community.com/spaces/1/public-space", "AuthorDisplayName": "Aparna Anand", "AuthorEmail": "test@email.com", "AuthorFirstName": "Aparna", "AuthorLastName": "anand", "AuthorAvatarImageUrl": "https://your-community.com/assets/Themes/default/images/avatar-default.jpg", "AuthorProfileUrl": "https://your-community.com/people/aparna", "IsLatest": false, "TagsCSV": "", "DateCreatedString": "just now", "DateCreatedShortString": "just now", "DatePublishedString": "just now", "DatePublishedShortString": "just now", "DateUpdatedString": "just now", "DateUpdatedShortString": "just now", "ContentURL": "https://your-community.com/spaces/1/public-space/files/111/photo-1499828885920-db68c59fa4ab-jpg", "ContentVersionURL": "https://your-community.com/spaces/1/public-space/files/111/photo-1499828885920-db68c59fa4ab-jpg?version=1", "IsPublishedFromDraftMode": false, "IsPublishedFromDelayedPublishingMode": false, "ParentContentTitle": "Activity Stream Files", "ParentContentURL": "https://your-community.com/spaces/1/public-space/files?directoryid=17", "IsPublishedFromUnderProcessingMode": false, "IsWallContent": false, "HasRead": false, "ContentFileSize": 59041, "ContentFileSizeString": "57.7KB", "ContentTypeIconCSSClass": "cf-icon cf-icon-file-image", "IsEditable": true, "IsDeletable": true, "IsDownloadable": true, "IsChekoutable": false, "IsUndochekoutable": false, "IsChekinable": false, "IsRestoreable": true, "IsPurgeable": false, "IsHistoryViewable": false, "IsMoveable": true, "IsChildContentCreationAllowed": false, "IsContentCreationAllowed": false, "ContentMediaOnlineViewUrl": "https://your-community.com/spaces/1/public-space/files/view/111", "ContentMediaUrl": "https://your-community.com/fileattachment?file=fmyj2ph%2FyPChuTHASXhJTg%3D%3D&v=1", "ContentHistoryUrl": "https://your-community.com/spaces/files/view-file-history?fileID=111&directoryID=17&spaceID=1&spaceName=public-space", "GoogleDocsEditUrl": "javascript:PopupCenter('/AjaxTemplates/GoogleDocsFile.aspx?cid=111&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://your-community.com/Assets/Uploaded-Photos/rank-lurker.gif", "AuthorRankName": "Lurker", "IsContentAvailablePostExpiry": false, "ContentIDCode": "fmyj2ph%2FyPChuTHASXhJTg%3D%3D", "TenantID": 1 } ], }
Please Note Your content type that you pass in the header of your request should be 'multipart/form-data'.
is requesting access to a wiki that you have locked: https://my.axerosolutions.com/spaces/5/communifire-documentation/wiki/view/33772/rest-api-add-wall-post-attachment
Your session has expired. You are being logged out.