getRepoAttachmentBlobDownload
A short-lived signed URL to download an attachment blob's file. With disposition=inline, an image (PNG, JPEG, GIF, WebP or AVIF) or a PDF is served to show in place, as in a frame or a new tab; any other type, and any file without it, downloads.
GET
/repos/{repo_id}/attachment-blobs/{attachment_blob_id}/downloadPath parameters
Query parameters
Returns
400
InvalidRequest
403
Forbidden | ForbiddenOrigin | RequiresPersonalSession | RunBranchRequired
JSON
One of the following:
- ForbiddenEncoded
- ForbiddenOriginEncoded
- RequiresPersonalSessionEncoded
- RunBranchRequiredEncoded
404
AttachmentBlobNotFound | RepoNotFound
JSON
One of the following:
- AttachmentBlobNotFoundEncoded
- RepoNotFoundEncoded
500
AttachmentUrlFailed | RepoFailure
JSON
One of the following:
- AttachmentUrlFailedEncoded
- RepoFailureEncoded
503
SessionUnavailable | RateLimitUnavailable
JSON
One of the following:
- SessionUnavailableEncoded
- RateLimitUnavailableEncoded