Skip to content
This repository has been archived by the owner on Jul 5, 2021. It is now read-only.

Reference of v3 arc alloc

TheSnowfield edited this page Jan 31, 2021 · 3 revisions
arguments description optional
time time sec YES
clear pre-clear the friend list
when set true
YES

Allocate a temporarily access token for persistent querying.
Token will be recycled while time limit exceed.
The default time limit is 30 sec.

Return data

{
    "status": 0,
    "content": {
        "access_token": "67c1e625a3afde07cc1cbf46e3a63a04",
        "valid_time": 30
    }
}

Error status

status description
0 everything is OK
-1 invalid time
-2 allocate an arc account failed
-233 unknown error occurred
Clone this wiki locally