Attachment API

Get all attachments

OVERVIEW

 

This method is used to get a list of attachment of a Collaborate content item. Please note this method does not apply to iSheet attachments and Q&A attachments, as attachments to those modules are managed separately within the context of those modules. 

 

GET /api/4/attachments?contenttype={contenttype}&contentid={contentid}

 

Parameter Name Parameter Value Description
contenttype String

Content type allows below options:

  • Microblogs
  • Wiki
  • Blog
  • Tasks
  • Events
  • Comments
  • Messages
contentid number

This the content id of the required content. e.g

blogid for contenttype=blog, taskid for contenttype=tasks

Request Body

no request body required

 

Response Body

list of Attachment common object 

 

Note : The attachments API works with all content types excluding iSheet and Q&A attachments. iSheet attachments are already supported using the iSheets API. 

Comments


0 Comments

Last Updated: Nov 08,2024