Content Capability Input

Create or update a file associated with a comment.

To attach or remove files from a feed post (instead of a comment) in version 36.0 and later, use Files Capability Input.

Root XML tag
<contentCapability>
   <contentDocumentId>069D00000001pyS</contentDocumentId>
</contentCapability>
JSON example
{
   "contentDocumentId": "069D00000001pyS"
}
Properties
Name Type Description Required or Optional Available Version
contentDocumentId String ID of the existing content. Required for existing content

Not supported for new content

32.0
description String Description of the file to be uploaded. Optional for new content

Not supported for existing content

32.0
sharingOption String Sharing option of the file. Values are:
  • Allowed—Resharing of the file is allowed.
  • Restricted—Resharing of the file is restricted.
Optional 35.0
title String Title of the file. This value is used as the file name for new content. For example, if the title is My Title, and the file is a .txt file, the file name is My Title.txt. Required for new content

Not supported for existing content

32.0