Помогите с curl

404

Client
Регистрация
23.09.2011
Сообщения
112
Благодарностей
58
Баллы
28
всем привет.
помогите, пожалуйста, составить кубик запроса с помощью api (https://eroshare.com/api/v1/doc)
HTML:
POST https://api.eroshare.com/api/v1/albums/[album_id]/items

Required Parameters:
  key - album key
  file - the file
HTML:
# Video example
curl -F "[email protected]" -F "key=97321d75-5544-41ec-81b4-44bb03928725" "https://api.eroshare.com/api/v1/albums/g4uzgbu5/items".json

{
  "id":"6s5a5qsy",
  "description":null,
  "slug":"6s5a5qsy",
  "state":"created",  // conversion hasn't started (created, converting, ready)
  "conversion_progress":0,
  "type":"Video",
  "width":568,
  "height":320,
  "video_duration":120,
  "url_full_protocol_encoded":"https%3A%2F%2Fi.eroshare.com%2F6s5a5qsy.jpg",
  "url_full_protocol":"https://i.eroshare.com/6s5a5qsy.jpg",
  "url_full":"//i.eroshare.com/6s5a5qsy.jpg",
  "url_thumb":"//i.eroshare.com/6s5a5qsy_thumb_play.jpg",
  "url_orig":"//i.eroshare.com/6s5a5qsy_orig.mp4",
  "url_mp4":"//v.eroshare.com/6s5a5qsy.mp4",
  "url_mp4_lowres":"//v.eroshare.com/6s5a5qsy_lowres.mp4",
  "position":1,
  "is_portrait":false,
  "lowres":false  // if a low resolution version of the video is available
}
 

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)