https://uploady.io/api/account/info?key=key
{
"msg": "OK",
"server_time": "2018-08-11 04:30:07",
"status": 200,
"result": {
"storage_left": "inf",
"premium_traffic_left": 102400,
"email": "[email protected]",
"premium_expire": "2018-01-22 18:00:00",
"balance": "100",
"traffic_used": "120",
"traffic_left": "12000",
"storage_used": "34001"
}
}
https://uploady.io/api/account/stats?key=key&last=last
{
"msg": "OK",
"server_time": "2017-08-11 04:30:07",
"status": 200,
"result": [
{
"downloads": "0",
"profit_views": "0.00000",
"views_adb": "1",
"sales": "0",
"profit_sales": "0.00000",
"profit_refs": "0.00000",
"profit_site": "0.00000",
"views": "0",
"refs": "0",
"day": "2017-09-12",
"profit_total": "0.00000",
"views_prem": "0"
}
]
}
https://uploady.io/api/upload/server?key=key
{
"msg": "OK",
"server_time": "2017-08-11 04:29:54",
"status": 200,
"result": "https://s1.uploady.download/upload/01"
}
https://uploady.io/api/file/info?key=key&file_code=file_code
{
"msg": "OK",
"server_time": "2017-08-11 04:28:53",
"status": 200,
"result": [
{
"status": 200,
"filecode": "gi4o0tlro01u",
"name": "4K Time Lapse in the EOS 6D Mark II",
"download": "0",
"size": "200",
"uploaded": "2017-08-10 05:07:17"
},
{
"status": 404,
"filecode": "gi4o0tlro012"
}
]
}
https://uploady.io/api/file/list?key=key&page=page&per_page=per_page&fld_id=fld_id&public=public&created=created&name=name
{
"msg": "OK",
"server_time": "2017-08-11 04:28:53",
"status": 200,
"result": [
{
"status": 200,
"filecode": "gi4o0tlro01u",
"name": "4K Time Lapse in the EOS 6D Mark II",
"downloads": "0",
"size": "20",
"uploaded": "2017-08-10 05:07:17"
},
{
"status": 404,
"filecode": "gi4o0tlro012"
}
]
}
https://uploady.io/api/file/rename?key=key&file_code=file_code&name=name
{
"msg": "OK",
"server_time": "2017-08-11 04:28:53",
"status": 200,
"result": [
{
"status": 200,
"filecode": "gi4o0tlro01u",
"name": "4K Time Lapse in the EOS 6D Mark II",
"canplay": 1,
"views_started": "1",
"downloads": "0",
"size": "201",
"uploaded": "2017-08-10 05:07:17"
},
{
"status": 404,
"filecode": "gi4o0tlro012"
}
]
}
https://uploady.io/api/file/set_folder?key=key&file_code=file_code&fld_id=fld_id
{
"msg": "OK",
"server_time": "2017-08-11 04:28:53",
"status": 200
}
https://uploady.io/api/files/deleted?key=key&last=last
{
"msg": "OK",
"server_time": "2017-08-11 04:28:53",
"status": 200,
"result": [
{
"file_code": "gtl2mhgw4is7",
"name": "1mb.bin",
"deleted": "2017-08-11 20:00:01",
"deleted_ago_sec": "194316"
},
{
"file_code": "uoyagho8c707",
"name": "2mb.bin",
"deleted": "2017-08-10 20:30:02"
"deleted_ago_sec": "278915"
}
]
}
https://uploady.io/api/folder/list?key=key&fld_id=fld_id
{
"msg": "OK",
"server_time": "2017-08-11 04:28:53",
"status": 200,
"result": {
"folders": [
{
"name": "Sub1",
"fld_id": "24"
}
],
"files": [
{
"link": "https://uploady.io/4w0sy8e63f0c",
"uploaded": "2017-07-18 04:06:39",
"file_code": "4w0sy8e63f0c",
"fld_id": "16",
"name": "100mb.bin",
}
]
}
}
https://uploady.io/api/folder/create?key=key&parent_id=parent_id&name=name
{
"msg": "OK",
"server_time": "2017-08-11 04:28:53",
"status": 200,
"result": {
"fld_id": "26"
}
}
https://uploady.io/api/folder/rename?key=key&fld_id=fld_id&name=name
{
"msg": "OK",
"server_time": "2017-08-11 04:28:53",
"status": 200,
"result": "true"
}