User Finish Upload Avatar
🔑 Need JWT Authorization
Description
Finish upload user avatar
Method And Path
js
POST /v2/user/upload-avatar/finish
Request
Header
ts
{
"authorization": string;
"x-request-id": string;
"x-session-id": string;
}
Body
ts
{
"fileUUID": string;
}
fileUUD
File uuid
- format: uuid-v4
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
}