Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Removed translated content for 'zh'
Sv translation
languageen

/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:

Code Block
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.


 

Sv translation
languageja

/api/users/:id/image

IDで指定されたユーザーの画像を返します。

リソース情報

リソースURL

https://service.belladati.com/api/users/:id/image

HTTPメソッド

GET

リクエストパラメーター

パラメーター

詳細

id

ユーザーのIDは、フェッチします。to /api/domains/:domain_id/users.に応じてIDを見つけることができます。

123

サンプルリクエスト/レスポンス

curl使用:

Code Block
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

レスポンスは、PNG形式のバイナリ画像データです。