Skip to main content

Get a signed download URL for an annotation picture.

GET/api/v1/annotation-pictures/{annotation_picture_id}/download-urlannotations:read

A signed URL of the picture, valid for an hour (the Portal's fixed link), for the picture's uploader or anyone who can see an Image annotation that places it. Needs Download Annotation Images, and View Annotation Image Library (the uploader) or View Document Annotations (a viewer of a placing annotation), as the Portal's image download does. 404 for a name that is no annotation picture, 403 when the Portal's rule refuses you. The link needs no sign-in: treat it as a secret.

Scopeannotations:read
AsynchronousNo
MCP toolget_annotation_picture_download_url
Portal permissionsdownload_annotation_images

Parameters​

NameInTypeRequiredDescription
annotation_picture_idpathstringRequired
Docwize-Versionheaderstring (date)Optional
If-None-MatchheaderstringOptionalAnswers 304 when the representation is unchanged (resources that publish an ETag).

Responses​

StatusDescriptionBody
200Success.application/json ContentURL
304Not modified (If-None-Match matched the ETag).
400invalid_versionapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
404not_foundapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

Errors​

The problem codes this operation can answer with. Each code links to its page.

Schemas​

ContentURL​

FieldTypeRequiredDescription
content_typestring or nullRequired
expires_atstring (date-time) or nullRequired
size_bytesstring or nullRequired
urlstringRequired