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

Complete an upload session.

POST/api/v1/uploads/{upload_id}/completeなし
注記

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

Checks that storage holds every part and exactly size_bytes, then marks the session completed. Completing a completed session answers it again. 409 names the missing parts.

スコープなし
非同期いいえ
MCP ツールcomplete_upload

パラメーター​

名前場所型必須説明
upload_idpathstring必須
Docwize-Versionheaderstring (date)任意
Idempotency-Keyheaderstring任意max 255

リクエスト本文​

Content-Type型
application/jsonUploadCompleteInput

応答​

ステータス説明本文
200Success.application/json Upload
400invalid_version, malformed_jsonapplication/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
409conflict, idempotency_in_progressapplication/problem+json Problem
413payload_too_largeapplication/problem+json Problem
415unsupported_media_typeapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422idempotency_key_reused, validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

エラー​

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

スキーマ​

Upload​

フィールド型必須説明
content_typestring必須
expires_atstring (date-time)必須The session, its part URLs and an upload not yet used by its consumer are discarded after this.
file_namestring必須
part_size_bytesstring必須Every part but the last is exactly this long: part n holds the bytes from (n-1) × part_size_bytes.
partsUploadPart の配列必須The parts still to send, with their URLs: all of them on create, the ones storage does not hold yet on a read (resume). Empty once the session is completed or aborted.
purposestring: document, forge_bundle, plugin_bundle, certificate, workflow_attachment, annotation_picture または string必須
size_bytesstring必須
statusstring: open, completed, aborted または string必須
upload_idstring必須

UploadCompleteInput​

フィールド型必須説明
partsUploadCompletedPartInput の配列任意The ETags storage answered each part PUT with. Optional: the server completes from the parts storage holds, and refuses (409) a part sent here that differs from them.

UploadCompletedPartInput​

フィールド型必須説明
etagstring必須
part_numberinteger必須≥ -2147483648; ≤ 2147483647

UploadPart​

フィールド型必須説明
expires_atstring (date-time)必須
part_numberinteger必須≥ -2147483648; ≤ 2147483647
urlstring必須PUT the part's bytes here, without authentication headers.