Users

Get profile photo

Changed on

Returns the profile photo binary content for the specified user. The response includes the raw file content and its MIME type.

get/users/{id}/profile-photo

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/users/{id}/profile-photo
  • Auth
    HTTP bearer

Path parameters

idinteger required

User ID

Response

Profile photo returned

messagestring

Example response

{
  "message": "OK",
  "data": {
    "type": "image/png"
  }
}

Changes

    • info

      api operation id getUserProfilePhoto was added

    • info

      api tag Users added

    • info

      api tag Users - Profile Photo removed

    • info

      api operation id getUserProfilePhoto removed and replaced with

    • info

      api tag Users - Profile Photo added

    • info

      api tag Users removed