Versions Compared

Key

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

/api/media/image/:id

Returns image with specified ID from BellaDati Media Gallery.

Resource Information

Resource URL

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

HTTP Method

GET

Request Parameters

 

Parameters

Detail

Example

id

ID of the image to fetch

123

Sample Request / Response

Using curl:

Code Block
curl GET-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/media/image/1234 -o file.png

When image with specified ID exists, the server returns the image in response.


Sv translation
languageja

/api/media/image/:id

BellaDatiメディアギャラリーから指定されたIDの画像を返します。

リソース情報

リソースURL

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

HTTPメソッド

GET

リクエストパラメーター

パラメーター

詳細

id

フェッチする画像のID

123

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

curl使用:

Code Block
curl GET-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/media/image/1234 -o file.png

指定されたIDの画像が存在する場合、サーバーはそれに応じて画像を返します。