URL: http://heywatch.com/download
Actions
- [GET] http://heywatch.com/download : get the list of all your downloads
- [GET] http://heywatch.com/download/ID : retrieve information about the download ID
- [POST] http://heywatch.com/download : create a download
- [DELETE] http://heywatch.com/download/ID : cancel the download ID
Example response in XML: http://heywatch.com/download.xml [GET]
<downloads>
<download>
<status>finished</status>
<updated-at>Fri Oct 27 14:26:18 CEST 2006</updated-at>
<video-id>524</video-id>
<title>YouTube - Rube Goldberg Officeplace Contraption</title>
<error-msg></error-msg>
<url>http:// host.com/videos/fun.avi</url>
<id>79</id>
<progress percent="100" current_length="2109"/>
<length>2109</length>
<created-at>Fri Oct 27 14:26:11 CEST 2006</created-at>
</download>
</downloads>
Valid parameters for POST
- url: direct link of the video to download, escaped format needed
Optional parameters
Same as Discover resource except “download” option.
It is recommended that you use the discover resource before creating a download if you don’t know the direct link (youtube, google, ...).
If you set the ping urls in your account and decide to not override them in the request, the custom fields will be added at the end of the url to ping.