All Products
Search
Document Center

Drive and Photo Service:CompleteFile

Last Updated:Aug 04, 2025

Completes the upload of a file.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

There is currently no authorization information disclosed in the API.

Request syntax

POST /v2/file/complete HTTP/1.1

Request parameters

ParameterTypeRequiredDescriptionExample
bodyobjectNo

The request parameters.

drive_idstringYes

The drive ID.

1
upload_idstringYes

The upload ID.

C9DCFE5A82644AC7A02DB74C30C934A6
file_idstringYes

The file ID.

9520943DC264

Response parameters

ParameterTypeDescriptionExample
File

The information about the file.

Error codes

For a list of error codes, visit the Service error codes.