API 2.0 thumbnail

From DriveCast Wiki

Revision as of 13:02, 3 September 2009 by Ikoichi2112@gmail.com (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

GET

  URL:        https://drivecast.eu/api/2.0/thumbnail/<UID>
  Methods:    GET
  Returns:    302 redirection to the thumbnail url
              401 Unauthorized
              404 thumbnail does not set for this item
  Formats:    json (default), xml, plist

Redirect location to: thumbnail url

curl --user username:password "https://drivecast.eu/api/2.0/thumbnail/<UID>?apikey=ABCDEFGHILMNOPQ" -L >/tmp/save.jpg

The thumbnail image will be saved in: /tmp/thumbnail.jpg

Where the UID string is a library element UID.

Personal tools