Get the attachments on a specific content. Valid for Communifire version 6.0 and above.
Communifire REST API key for the Communifire portal you are making the call for.
Unique identifier for the content.
GET https://myintranet.communifire.com/api/content/33/attachments?EntityType=3
Attachment JSON object is returned as ResponseData.
{ "IsError":false, "ResponseMessage":"", "ResponseData":[ { "FileID":5, "FileExtension":"txt", "Caption":"file.txt", "FileName":"2b047955-f0ad-45dd-b08b-e32d75cffe12.txt", "MediaServerRootURL":"https://myintranet.communifire.communifire.com/Assets/Uploaded-CMS-Files", "MediaServerID":3, "FileHeight":0, "FileWidth":0, "EntityID":33, "EntityType":0, "FileSize":7.0, "FileSizeText":"7B", "Active":true, "DateCreated":"2018-04-23T22:07:23.007", "FileURL":"https://myintranet.communifire.communifire.com/attachment?file=dlunRXm6XcImPRIWqJqoOw%3D%3D&Rest-Api-Key=Z3JhY2XXXXX", "FileTypeIconCSSClass":"cf-icon cf-icon-file-text", "IsImage":false, "AttachmentType":1, "TenantID":0 } ] }
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/26731/rest-api-get-attachments?locale=en-US%25252525252525252525252525252525252525252f1%25252525252525252525252525252525252525252f%25252525252525252525252525252525252525253fact%25252525252525252525252525252525252525253d1%25252525252525252525252525252525252525252f%25252525252525252525252525252525252525253fSpaceID%25252525252525252525252525252525252525253d5
Your session has expired. You are being logged out.