Skip to content
On this page

Cloud Storage Finish Upload

🔑 Need JWT Authorization

Description

finish upload file to cloud storage

  1. Request /v2/cloud-storage/upload/start
  2. Use /v2/cloud-storage/upload/start response data upload file
  3. File upload finish (Native)
  4. Request /v2/cloud-storage/upload/finish
  5. Done

Method And Path

js
POST /v2/cloud-storage/upload/finish

Request

ts
{
    "authorization": string;
    "x-request-id": string;
    "x-session-id": string;
}

Body

ts
{
    "fileUUID": string;
}

fileUUID

File uuid

Response

Success

HTTP Status Code: 200

ts
{
    status: Status.Success,
    data: {}
}

Extends Type: Status

Failed

HTTP Status Code: 200

ts
{
    status: Status.Failed,
    code: ErrorCode
}

Extends Type: Status, ErrorCode`

Released under the MIT License.