FileUploadTarget
Where to send a file's bytes after staging it in presigned mode. There is no per-file completion call — finalise verifies the upload.
uploadUrlstring<uri>required
The URL to upload the file's bytes to, typically a presigned object-store URL.
Example:
https://uploads.example.org/deposit/dep_8f14e45f/NT1-001-001A.wav?signature=...methodstring
The HTTP method to use for the upload.
Default value:
PUTExample:
PUTheaders object
Headers the client MUST include in the upload request.
property name*string
expiresAtstring<date-time>
When the upload target stops accepting bytes. Re-stage the file to obtain a fresh target.
FileUploadTarget
{
"uploadUrl": "https://uploads.example.org/deposit/dep_8f14e45f/NT1-001-001A.wav?signature=...",
"method": "PUT",
"headers": {
"Content-Type": "audio/x-wav"
},
"expiresAt": "2024-07-29T15:51:28.071Z"
}