View source: R/support_operations.R
| support_get_attachment_upload_links | R Documentation |
Returns one or more presigned upload URLs for uploading a large file attachment to a support case by using a multipart upload workflow. The maximum file size that you can upload with this workflow is 150 MB, and parts can be up to 100 MB each. Initiate a new upload by providing fileName and fileSizeBytes; the response returns a unique uploadId, the part size, the total number of parts, and a list of presigned upload URLs for the requested range of parts. A maximum of 10 upload URLs are returned per call. To retrieve more upload URLs for an upload that's already in progress, call get_attachment_upload_links again with the existing uploadId and a new uploadRange.
See https://www.paws-r-sdk.com/docs/support_get_attachment_upload_links/ for full documentation.
support_get_attachment_upload_links(
fileName,
fileSizeBytes = NULL,
uploadId = NULL,
uploadRange = NULL,
dryRun = NULL
)
fileName |
[required] The name of the file to upload, including the file extension. This value is required when you initiate a new upload. |
fileSizeBytes |
The total size of the file in bytes. The service uses this value to calculate the total number of parts and the size of each part. Required when you initiate a new upload (when |
uploadId |
The unique identifier of an in-progress multipart upload, returned by a previous call to |
uploadRange |
The range of part indexes for which to return presigned upload URLs. Use this parameter to page through the upload URLs for a large file across multiple calls. If you omit this parameter, the service determines the range to return. |
dryRun |
Specifies whether to validate the request without actually generating upload URLs. When set to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.