Documentation
Users

Upload profile thumbnail

Upload an image (multipart/form-data, field: file) as the current user thumbnail.

POST
/api/users/@me/thumbnail

Authorization

bearer
AuthorizationBearer token

User session token. Obtained from POST /api/auth/login.

In: header

Response Body

application/json

application/json

curl -X POST "https://loading/api/users/@me/thumbnail"
Empty
{
  "data": null,
  "error": {
    "code": "NOT_FOUND",
    "message": "Resource not found.",
    "status": 404
  },
  "time": 1680000000000,
  "request": "/api/endpoint"
}
{
  "data": null,
  "error": {
    "code": "NOT_FOUND",
    "message": "Resource not found.",
    "status": 404
  },
  "time": 1680000000000,
  "request": "/api/endpoint"
}