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

Reference of v2 arc alloc

TheSnowfield edited this page May 28, 2020 · 1 revision
arguments description optional
time time sec YES
clear pre-clear the friend list
when set true
YES

Allocate an temporarily access token for persistent querying.
Token will be recycled when 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