Initiate a multipart upload
files_post_multipart(name, num_parts, expires_at = NULL)
name | string required. The file name. |
---|---|
num_parts | integer required. The number of parts in which the file will be uploaded. This parameter determines the number of presigned URLs that are returned. |
expires_at | string optional. The date and time the file will expire. If not specified, the file will expire in 30 days. To keep a file indefinitely, specify null. |
A list containing the following elements:
integer, The ID of the file.
string, The file name.
string, The date and time the file was created.
integer, The file size.
string, The date and time the file will expire. If not specified, the file will expire in 30 days. To keep a file indefinitely, specify null.
array, An array of URLs that may be used to upload file parts. Use separate PUT requests to complete the part uploads. Links expire after 12 hours.