/api/users/:id/image

Returns the image for the user specified by ID.

Resource Information

Request Parameters

Parameters

Detail

Example

id

ID of the user to fetch. You can find the ID in the response to /api/users/username/:username ((lightbulb) secure option when building apps that are not using BellaDati global admin account) or in response to /api/domains/:domain_id/users ( only for apps that are using BellaDati Global Admin account)

123

Sample Request / Response

Using curl:

curl -H "Authorization: OAuth realm=\"https://service.belladati.com/\", oauth_consumer_key=\"myConsumer\", oauth_token=\"mh7an9dkrg59\", oauth_timestamp=\"135131231\", oauth_nonce=\"randomString\"" https://service.belladati.com/api/users/123/image

The response is binary image data in PNG format.


 

  • No labels