Skip to content
On this page

User Finish Upload Avatar

🔑 Need JWT Authorization

Description

Finish upload user avatar

Method And Path

js
POST /v2/user/upload-avatar/finish

Request

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

Body

ts
{
    "fileUUID": string;
}

fileUUD

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.