DoodStream provides a simple HTTP API to integrate ours into your business or application. All requests to the API shall be GET or POST You can find your API key here - https://doodstream.com/settings
{ "msg": "OK", "server_time": "2017-08-11 04:30:07", "status": 200, "result": { "email": "email@test.com", "balance": "0.00000", "storage_used" :"24186265", "storage_left": 128824832615, "premim_expire": "2025-10-24 21:00:00 } }
{ "msg": "OK", "server_time": "2017-08-11 04:30:07", "status": 200, "result": [ { "profit_views": "0.00000", "downloads": "0", "views": "0", "day": "2017-08-11", "profit_total": "0.00000" }, { "profit_views": "0.00000", "downloads": "0", "views": "0", "day": "2017-08-12", "profit_total": "0.00000" } ] }
{ "msg": "OK", "server_time": "2017-08-11 04:30:07", "status": 200, "result": [ { "reported_on": "2017-08-11 04:30:07", "protected_download": "yyy", "protected_embed": "zzz", "file_code": "xxx", "fld_id": "0", "disabled_on": "2017-08-11 05:00:07" } ] }
{ "msg": "OK", "server_time": "2017-08-11 04:30:07", "status": 200, "result": "https://xxx.dood.video/upload/01" }
curl -X POST -F 'api_key={your_api_key}' -F 'file=@file.mp4' https://xxx.dood.video/upload/01?{your_api_key}
<form enctype="multipart/form-data" action="https://xxx.dood.video/upload/01?{your_api_key}" method="post"> <input type="hidden" name="api_key" value="{your_api_key}"> <input name="file" type="file"> <input type="submit"> </form>
{ "msg": "OK", "server_time": "2017-08-11 04:30:07", "status": 200, "result": [ { "download_url": "https://dood.to/d/xxx", "single_img": "https://img.doodcdn.com/snaps/xxx.jpg", "status": 200, "filecode": "xxx", "splash_img": "https://img.doodcdn.com/splash/xxx.jpg", "canplay": 1, "size": "123456", "length": "123456", "uploaded": "2017-08-11 04:30:07", "protected_embed": "https://dood.to/e/yyy", "protected_dl": "https://dood.to/d/zzz", "title": "test_file" } ] }
{ "msg": "OK", "server_time": "2017-08-11 04:30:07", "status": 200, "result": { "embed_url": "https://dood.la/e/xxx", "download_url": "https://dood.la/d/xxx", "protected_download": "https://dood.la/d/yyy", "protected_embed": "https://dood.la/e/zzz", "filecode": "xxx" } }
{ "msg": "OK", "server_time": "2017-08-11 04:30:07", "new_title": "", "status": 200, "total_slots": "100", "result": { "filecode": "98zukoh5jqiw" }, "used_slots": "0" }
{ "msg": "OK", "server_time": "2017-08-11 04:30:07", "status": 200, "result": [ { "bytes_total": "0", "created": "2017-08-11 04:30:07", "remote_url": "https://dropbox.com/hukbasd7k3fd", "status": "working", "file_code": "98zukoh5jqiw", "bytes_downloaded": "0", "folder_id": "0" } ] }
{ "msg": "OK", "server_time": "2017-08-11 04:30:07", "status": 200, "result": [ { "bytes_total": "0", "created": "2017-08-11 04:30:07", "remote_url": "https://dropbox.com/hukbasd7k3fd", "status": "working", "file_code": "hjsnr087johj", "bytes_downloaded": "0", "folder_id": "0" } ] }
{ "msg": "OK", "server_time": "2017-08-11 04:30:07", "status": 200, "total_slots": "100", "used_slots": "10" }
{ "msg": "Errors restarted", "server_time": "2017-08-11 04:30:07", "status": 200 }
{ "msg": "OK", "server_time": "2017-08-11 04:30:07", "status": 200, "result": { "fld_id": "1234567" } }
{ "msg": "OK", "server_time": "2017-08-11 04:30:07", "status": 200, "result": "true" }
{ "msg": "OK", "server_time": "2017-08-11 04:30:07", "status": 200, "result": { "total_pages": 1, "files": [ { "download_url": "https://dood.to/d/xxx", "single_img": "https://img.doodcdn.com/snaps/xxx.jpg", "file_code": "xxx", "canplay": 1, "length": "1234", "views": "1", "uploaded": "2017-08-11 04:30:07", "public": "1", "fld_id": "0", "title": "test_file" } ], "results_total": "1", "results": 1 } }
{ "msg": "OK", "server_time": "2017-08-11 04:30:07", "status": 200, "result": [ { "status": "Active", "filecode": "xxx" } ] }
{ "msg": "OK", "server_time": "2017-08-11 04:30:07", "status": 200, "result": [ { "single_img": "https://img.doodcdn.com/snaps/xxx.jpg", "status": 200, "filecode": "xxx", "splash_img": "https://img.doodcdn.com/splash/xxx.jpg", "canplay": 1, "size": "123456", "views": "0", "length": "123456", "uploaded": "2017-08-11 04:30:07", "last_view": "", "protected_embed": "/e/yyy", "protected_dl": "/d/zzz", "title": "test_file" } ] }
{ "msg": "OK", "server_time": "2017-08-11 04:30:07", "status": 200, "result": [ { "status": 200, "filecode": "xxx", "title": "test_file", "single_img": "https://img.doodcdn.com/snaps/xxx.jpg", "thumb_img": "https://img.doodcdn.com/thumbnails/xxx.jpg", "splash_img": "https://img.doodcdn.com/splash/xxx.jpg" } ] }
{ "msg": "OK", "server_time": "2017-08-11 04:30:07", "status": 200, "result": "true" }
{ "msg": "OK", "server_time": "2017-08-11 04:30:07", "status": 200, "result": "true" }
[ {"src":"https://example.com/name_en.vtt", "label":"English", default: true}, {"src":"https://example.com/name_fr.vtt", "label":"French"} ]