Create Pulse Dashboard Attachment Upload URL
Issue a presigned upload URL for a file to attach to a Duvo Pulse dashboard message (e.g. an HTML dashboard to copy, or a screenshot to match). POST the file bytes to the returned upload_url as multipart form data under the field name ‘file’, then pass the returned attachment_id in the attachments array of POST /artifacts//messages. The agent reads the file directly from its sandbox. Files live as long as the dashboard’s sandbox (about 12 hours), so upload shortly before sending.
Path Parameters
Body
Name of the file being attached, without any path segments
1 - 255MIME type of the file, e.g. text/html or image/png
1 - 127Size of the file in bytes (max 25MB)
0 <= x <= 26214400Response
Default Response
Echo this back in the message body's attachments array
Sandbox the file will be uploaded into
Absolute path the file will occupy inside the sandbox
Presigned URL to POST the file bytes to as multipart form data
2048Seconds until upload_url stops being accepted
x <= 9007199254740991