Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Sv translation
languageja

/api/import/media/image

BellaDatiメディアギャラリーに画像を投稿します

リソース情報

リクエストパラメータ

パラメーター

詳細

name

(任意)新しい画像名

私の画像

file

画像ファイル

 


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

curl使用

Code Block
curl POST -H "Authorization: OAuth realm=\"https://service.belladati.com/\", oauth_consumer_key=\"myConsumer\", oauth_token=\"mh7an9dkrg59\", oauth_timestamp=\"135131231\", oauth_nonce=\"randomString\"" -H "Content-Type: multipart/form-data" -F "name=My image" -F "file=@myImage.png" https://service.belladati.com/api/import/media/image

フォームが正常に送信された場合、サーバは200のHTTPステータスコードと空の本文で応答する。