AttachmentVersioningResources Methods |
The AttachmentVersioningResources type exposes the following members.
Name | Description | |
---|---|---|
AttachNewVersion | Uploads a new version of a file to a Sheet or Row. This operation can be performed using a simple upload or a multipart upload. For more information, see Posting an Attachment. It mirrors to the following Smartsheet REST API method: Remarks Uploading new versions is not supported for attachments on Comments or for URL attachments. This is a resource-intensive operation and incurs 10 additional requests against the rate limit. | |
DeleteAllVersions | Deletes all versions of the attachment corresponding to the specified Attachment ID. For attachments with multiple versions, this will effectively delete the attachment from the object that it’s attached to. It mirrors to the following Smartsheet REST API method: DELETE /sheets/{sheetId}/attachments/{attachmentId}/versions | |
ListVersions | Gets a list of all versions of the given Attachment ID, in order from newest to oldest. Remarks This operation supports pagination of results. For more information, see Paging. to retrieve a download URL for a file attachment, use the Get Attachment operation for the specific version you want to download. It mirrors to the following Smartsheet REST API method: GET /sheets/{sheetId}/attachments/{attachmentId}/versions |