Upload user file
POST
/api/v1/user/{id}/file
Uploads a file (avatar) for a user
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string
Request Body required
Section titled “Request Body required ”object
file
string format: binary
Responses
Section titled “ Responses ”File uploaded, user updated
object
id
required
User ID (15 chars)
string
username
required
Username (3+ chars, alphanumeric with dots)
string
email
required
User email address
string format: email
avatar
Avatar file path
string
verified
Email verification status
boolean
created
string format: date-time
updated
string format: date-time
Bad Request
Not Found
Internal Server Error