API documentation

ยป Ping

A ping is a POST HTTP notification you receive when a video is uploaded successfully.

POST parameters

  • video_id

    The video ID

  • link[sitename]

    The links for each video sites.
    Eg. link[youtube]=http://youtube.com/watch?v=fsdfds
    link[dailymotion]=http://dailymotion.com/video/xfdsd

  • error[sitename]

    The error messages for each video sites.
    Eg. error[metacafe]=Unexpected error
    error[revver]=Wrong login or password

HTTP request example

For this example, the ping URL is http://yourhost.com/path

POST /path HTTP/1.1
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/418 (KHTML, like Gecko) Safari/417.9.3
Host: yourhost.com
Accept: */*
Keep-Alive:300
Accept-Charset:ISO-8859-1,utf-8;q=0.7,*;q=0.7
Accept-Language:en-us,en;q0.5
Connection:keep-alive
Content-Length: 424
Content-Type: application/x-www-form-urlencoded

video_id=611&
link%5Bputfile%5D=http://media.putfile.com/GTA-IV-Stunts&
link%5Bveoh%5D=http://www.veoh.com/videos/v1593683rt65588A&
link%5Bphotobucket%5D=http://s194.photobucket.com/albums/z52/fenril_bucket/?action=view%26current=cd75c522a966cfd547b20b34037e1d4d.flv&
link%5Bgoogle%5D=http://video.google.com/videoplay?docid=-4814050205325077808&
error%5Bflurl%5D=Unexpected error&
error%5Brevver%5D=Wrong login or password