AlphaAlpha Docs

Upload a profile picture

Uploads a profile picture for the user with the given email

POST
/user/upload-profile-picture/{email}
AuthorizationBearer <token>

In: header

Path Parameters

email*string

Request Body

multipart/form-data

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "http://localhost:18080/api/v1/user/upload-profile-picture/string" \  -F file="string"
{
  "blobId": "string",
  "height": 0,
  "thumbnailBlobId": "string",
  "width": 0
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}