Skip to content

Download attachment public URL

GET
/api/v1/attachments/{attachmentId}/download
curl --request GET \
--url https://localhost:10001/api/v1/attachments/1/download \
--header 'Authorization: <Authorization>'

Permanent endpoint that redirects to a freshly generated short-lived signed URL

attachmentId
required
integer

Attachment ID

Redirect to short-lived signed URL

Media type application/json

Bad request - Invalid attachment ID

Media type application/json

Error body returned by the governance endpoints; the message is human-readable and not a stable identifier

object
error
string
Example
{
"error": "Invalid request body"
}

Unauthorized - Missing or invalid token

Media type application/json

Error body returned by the governance endpoints; the message is human-readable and not a stable identifier

object
error
string
Example
{
"error": "Invalid request body"
}

Attachment not found

Media type application/json

Error body returned by the governance endpoints; the message is human-readable and not a stable identifier

object
error
string
Example
{
"error": "Invalid request body"
}

Internal server error

Media type application/json

Error body returned by the governance endpoints; the message is human-readable and not a stable identifier

object
error
string
Example
{
"error": "Invalid request body"
}