Type Definitions
TeraBoxAppParams
- Description:
- Application parameters and configuration.
- Source:
- See:
Properties:
Name | Type | Description |
---|---|---|
whost |
string | Web host URL: 'https://jp.[TERABOX_DOMAIN]'. |
uhost |
string | Upload host URL: 'https://c-jp.[TERABOX_DOMAIN]'. |
lang |
string | Language code setting, default - en (English). |
app |
TeraBoxAppParamsApp | Application settings. |
ver_android |
string | Android version. |
ua |
string | User agent string: 'terabox;[pc_app_version];PC;PC-Windows;[winver];WindowsTeraBox'. |
cookie |
string | Cookie string. |
auth |
Object | Authentication data (unused). |
account_id |
number | Account ID. |
account_name |
string | Account name. |
is_vip |
boolean | VIP status flag. |
vip_type |
number | VIP type:
0: Regular user 1: Regular premium 2: Super premium |
space_used |
number | Used space in bytes. |
space_total |
number | Total space in bytes. |
space_available |
number | Available space in bytes. |
cursor |
string | Cursor for pagination. |
Application parameters and configuration.
Type:
- Object
TeraBoxAppParamsApp
- Description:
- Application settings.
- Source:
- See:
Properties:
Name | Type | Default | Description |
---|---|---|---|
app_id |
number |
250528
|
Application ID. |
web |
number |
1
|
Web flag. |
channel |
string |
dubox
|
Channel identifier. |
clienttype |
number |
0
|
Client type. |
Application settings.
Type:
- Object
CheckLoginResponse
- Source:
- See:
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
errno |
number | Error code:
0 : OK
-6 : Bad auth cookie |
|
newno |
string | Unknown (always empty). | |
request_id |
number | Request ID. | |
show_msg |
string | Server message (in most cases empty). | |
uk |
number |
<optional> |
User ID (only if errno = 0). |
Type:
- Object