Get a list of files in a space. Valid for Communifire version 5.2 and above.
GEThttps://myintranet.communifire.com/api/files/space?SpaceID=234&Status=1&SortColumn=1&SortType=0&StartPage=1&PageLength=100
Content JSON object is returned as ResponseData.
{ "IsError":false, "ResponseMessage":"", "ResponseData": [ { "ContentID":2355, "EntityType":14, "ContentTypeID":14, "ContentTitle":"star.png", "ContentStub":"star-png", "ContentBody":"", "ContentBodyUnprocessed":"", "ContentSummary":"", "AuthorID":1, "AuthorUserName":"john", "UpdatedByUserID":1, "UpdatedByUserDisplayName":"John Smith", "UpdatedByUserUsername":"john", "UpdatedByUserEmail":"acme@acme.com", "UpdatedByUserFirstName":"John", "UpdatedByUserLastName":"Smith", "UpdatedByUserAvatarImageUrl":"https://myintranet.communifire.com/Assets/Uploaded-Photos/884af119-4937-4b33-a795-826cda3d19a3.png", "UpdatedByUserProfileUrl":"https://myintranet.communifire.com//people/john", "ParentContentID":326, "ContentVersionID":1, "SpaceID":234, "WorkflowID":0, "CurrentWorkflowStepID":0, "StatusID":1, "DateCreated":"2016-02-09T12:03:10.557", "DatePublished":"2016-02-09T12:03:12.78", "DateUpdated":"2016-02-09T12:03:10.557", "IsFeatured":false, "ViewCount":0, "CommentCount":0, "Rating":0.0, "MetaTitle":"star.png", "MetaDescription":"", "MetaKeywords":"", "ContentMediaServerID":3, "ContentMediaFileName":"02824a14-39c2-4828-a128-11e4648706b7.png", "ContentMediaServerRootURL":"https://myintranet.communifire.com/Assets/Uploaded-CMS-Files", "SpaceName":"Files storage space", "SpaceURL":"/spaces/234/files-storage-space", "AuthorDisplayName":"John Smith", "AuthorEmail":"acme@acme.com", "AuthorFirstName":"John", "AuthorLastName":"Smith", "AuthorAvatarImageUrl":"https://myintranet.communifire.com/Assets/Uploaded-Photos/884af119-4937-4b33-a795-826cda3d19a3.png", "AuthorProfileUrl":"http://your-communtiy.com//people/john", "IsLatest":false, "DateCreatedString":"19 minutes ago", "DatePublishedString":"19 minutes ago", "DateUpdatedString":"19 minutes ago", "ContentURL":"/spaces/234/file-storage-space/files/2355/star-png", "ContentVersionURL":"", "IsPublishedFromDraftMode":false, "IsPublishedFromDelayedPublishingMode":false, "ParentContentTitle":"Root", "ParentContentURL":"/spaces/files/default?spaceid=234&spacename=file-storage-space&directoryid=326", "IsPublishedFromUnderProcessingMode":false, "IsWallContent":false, "ContentFileSize":159926.0, "ContentFileSizeString":"156.2KB", "ContentTypeIconCSSClass":"cf-icon cf-icon-file-image", "ContentFileUpdateType":0, "IsEditable":true, "IsDeletable":true, "IsDownloadable":true, "IsChekoutable":false, "IsUndochekoutable":false, "IsChekinable":false, "IsRestoreable":false, "IsPurgeable":false, "IsHistoryViewable":true, "IsMoveable":true, "ContentMediaOnlineViewUrl":"/spaces/234/files-storage-space/files/view/2355", "ContentMediaUrl":"/fileattachment?file=tTC%2FraSgl9HKLbDv5%2BOcig%3D%3D&v=1", "IsDirectory":false } ] }
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/4910/rest-api-get-space-files?locale=en-US%2525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252f1%2525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252f%2525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525253fact%2525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525253d1%2525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252f%2525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525253fSpaceID%2525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525253d5
Your session has expired. You are being logged out.