Web Upload
Parameters
Parameter |
Description |
Required |
keyApi |
Your api key |
Yes |
File |
Video file(s) |
Yes |
You need to change your api key value to the following tag:
CURL file upload sample
curl -X POST -F "keyapi=iCDR9HRrRY" -F "[email protected]" https://up57.turbosplayer.com/uploadapi
HTML form upload sample:
<form method="POST" enctype="multipart/form-data" action="https://up57.turbosplayer.com/uploadapi">
<input type="hidden" name="keyapi" value="{keyapi}">
<input type="file" name="file">
<input type="submit">
</form>
Response
{"videoID":
{
"status":0,
"user_id":12,
"slug":"66b23aa2d3796",
"title":"2361778.mkv",
"format":"mp4",
"folder_id":13
},
"title":"2361778.mkv"
}
LIST FILE
List All File
https://turboviplay.com/api/listFile?keyApi={Your_key_api}&page={page}&perPage={Max_video}&folder={name_folder}
Parameters
Parameter |
Description |
Required |
keyApi |
Your api key |
Yes |
url |
URL to upload |
Yes |
nameFolder |
To upload inside a folder |
No |
newTitle |
To set new title |
No |
Response
{
"msg": "ok",
"status": "200",
"total_video": 2,
"file": [
{
"title": "abc.mp4",
"folder": "copy3",
"video_id": "8fPJ48lv7ddvE7NFpPcS",
"embedLink": "https://emturbovid.com/t/fjre48lv7ddvE7NFpPcS",
"poster": "https://ver1.sptvp.com/poster/1/6E/fjre48lv7ddvE7NFpPcS.png",
"view": 0,
"date_uploaded": "07/28/2021 01:33:11"
},
{
"title": "def.mp4",
"folder": "single videos,copy3",
"video_id": "98CpQhkDM9W3BkKmmUcj",
"embedLink": "https://emturbovid.com/t/rtjgnkDM9W3BkKmmUcj",
"poster": "https://ver1.sptvp.com/poster/A/FF/rtjgnkDM9W3BkKmmUcj.png",
"view": 1,
"date_uploaded": "08/08/2021 10:53:04"
}
]
}
INFO VIDEO
Get file info
https://turboviplay.com/api/infoFile?keyApi={your_key_api}&videoID={id_video}
Parameters
Parameter |
Description |
Required |
keyApi |
Your api key |
Yes |
videoID |
id video |
Yes |
Response
{
"msg": "ok",
"status": "200",
"file": {
"title": "abc.mp4",
"poster": "https://ver1.sptvp.com/poster/iolcndjeouw.png",
"sub": "0",
"view": 0,
"date_uploaded": "07/28/2021 01:33:11",
"size": "122.13 M",
"duration": 515,
"quality": 1080
}
}
RENAME FILE
Rename Your File
https://turboviplay.com/api/renameFile?keyApi={your_key_api}&videoID={id_video}&newTitle={new_title_video}
Parameters
Parameter |
Description |
Required |
keyApi |
Your api key |
Yes |
videoID |
id video |
Yes |
newTitle |
new file name |
Yes |
Response
{
"msg": "OK",
"server_time": "2017-08-11 04:30:07",
"status": 200,
"result": "true"
}