API Documentation

General Information

Account

Account Info
Account Stats
Endpoint
GET https://gett.su/api/account/stats?key=key&last=last
Parameters
key
String
API key Example: 1saep52buejc4ngwo
last
Number
show stats for last X days Default: 7.
Response
{
    "msg": "OK",
    "server_time": "2023-05-07 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": "2023-05-07",
            "profit_total": "0.00000",
            "views_prem": "0"
        }
    ]
}

Upload

Upload form
<form enctype="multipart/form-data" action="https://cloud-1.gett.su/upload" method="post">
    <input name="sess_id" value="3qr5wkukoy31pd1g">
    <input name="file" type="file">
</form>
Upload Server
Endpoint
GET https://gett.su/api/upload/server?key=key
Parameters
key
String
API key Example: 1saep52buejc4ngwo
Response
{
    "msg": "OK",
    "server_time": "2023-05-07 04:29:54",
    "status": 200,
    "result": "https://cloud-1.gett.su/upload"
}

File(s)

Get file info
Endpoint
GET https://gett.su/api/file/info?key=key&file_code=file_code
Parameters
key
String
API key Example: 1saep52buejc4ngwo
file_code
String
file code, or list separated by comma Example: b06v187t2kim,gi4o0tlro012.
Response
{
    "msg": "OK",
    "server_time": "2023-05-07 04:28:53",
    "status": 200,
    "result": [
        {
            "status": 200,
            "filecode": "b06v187t2kim",
            "name": "MPC-HC.1.7.13.x64.exe",
            "download": "0",
            "size": "200",
            "uploaded": "2023-04-07 05:07:17"
        },
        {
            "status": 404,
            "filecode": "gi4o0tlro012"
        }
    ]
}
Get files list
Rename file
Endpoint
GET https://gett.su/api/file/rename?key=key&file_code=file_code&name=name
Parameters
key
String
API key Example: 1saep52buejc4ngwo
file_code
String
file code, or list separated by comma Example: b06v187t2kim,gi4o0tlro012.
name
String
filter file names Example: cool_video.mp4.
Response
{
    "msg": "OK",
    "server_time": "2023-05-07 04:28:53",
    "status": 200,
    "result": [
        {
            "status": 200,
            "filecode": "b06v187t2kim",
            "name": "MPC-HC.1.7.13.x64.exe",
            "canplay": 1,
            "views_started": "1",
            "downloads": "0",
            "size": "201",
            "uploaded": "2023-04-07 05:07:17"
        },
        {
            "status": 404,
            "filecode": "gi4o0tlro012"
        }
    ]
}
Set file folder
Endpoint
GET https://gett.su/api/file/set_folder?key=key&file_code=file_code&fld_id=fld_id
Parameters
key
String
API key Example: 1saep52buejc4ngwo
file_code
String
file code, or list separated by comma Example: b06v187t2kim,gi4o0tlro012.
fld_id
Number
folder id Example: 15.
Response
{
    "msg": "OK",
    "server_time": "2023-05-07 04:28:53",
    "status": 200
}
Get deleted files
Endpoint
GET https://gett.su/api/files/deleted?key=key&last=last
Parameters
key
String
API key Example: 1saep52buejc4ngwo
last
Number
number of files limit Example: 20.
Response
{
    "msg": "OK",
    "server_time": "2023-05-07 04:28:53",
    "status": 200,
    "result": [
        {
            "file_code": "gtl2mhgw4is7",
            "name": "1mb.bin",
            "deleted": "2023-05-07 20:00:01",
            "deleted_ago_sec": "194316"
        },
        {
            "file_code": "uoyagho8c707",
            "name": "2mb.bin",
            "deleted": "2023-04-07 20:30:02"
            "deleted_ago_sec": "278915"
        }
    ]
}

Folder

Get folder/file list
Create new folder
Rename folder
Endpoint
GET https://gett.su/api/folder/rename?key=key&fld_id=fld_id&name=name
Parameters
key
String
API key Example: 1saep52buejc4ngwo
fld_id
Number
folder id Example: 15.
name
String
folder name Example: New Folder.
Response
{
    "msg": "OK",
    "server_time": "2023-05-07 04:28:53",
    "status": 200,
    "result": "true"
}