メインコンテンツまでスキップ

Get a signed download URL for one version.

GET/api/v1/documents/{document_id}/versions/{version_id}/download-urldocuments:download
注記

このページの操作の説明は、API の OpenAPI 文書のとおり英語で記載しています。

The version's short-lived signed URL, with its content type and size. expires_in_seconds and file_name as for the current file.

スコープdocuments:download
非同期いいえ
MCP ツールget_document_version_download_url
Portal の権限download_document_files, download_original_documents, download_document_versions

パラメーター​

名前場所型必須説明
document_idpathstring必須
version_idpathstring必須
expires_in_secondsqueryinteger または null任意How long the URL works, 60 to 604800 seconds. Default 3600.
file_namequerystring または null任意The name the file saves under, sent as the Content-Disposition of the download. Its extension is the stored file's, as the Portal's download name is.
Docwize-Versionheaderstring (date)任意
If-None-Matchheaderstring任意Answers 304 when the representation is unchanged (resources that publish an ETag).

応答​

ステータス説明本文
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

エラー​

この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。

スキーマ​

ContentURL​

フィールド型必須説明
content_typestring または null必須
expires_atstring (date-time) または null必須
size_bytesstring または null必須
urlstring必須