The UPDATE_FILE action is used to update the file within the application.
The payload for the action is:
Property | Required | Description |
---|---|---|
sourceContent | Optional | The content parameter holding the reference to a content, or the content object with the binary content to be attached to the target content. One of the source inputs are required (sourceContent, sourceJSON or sourceText). If the received value contains multiple references to content objects, only the first of them will be used. |
sourceJSON | Optional | A JSON that is going to be included as the content object binary content. One of the source inputs are required (sourceContent, sourceJSON or sourceText). |
sourceText | Optional | A string that is going to be included as the content object binary content. One of the source inputs are required (sourceContent, sourceJSON or sourceText). |
targetContet | Required | The content parameter holding the reference to a content, or the content object which binary content is going to be updated. If the received value contains multiple references to content objects, only the first of them will be used. |