Get token list
For getting token list please use token/list:
svc=token/list¶ms={"userId":<text>}
Parameters
Param | Description | Comments |
userId | subuser id | optional |
Response
[
{
"h":<text>, /* unique token name, 72 symbols */
"app":<text>, /* application name */
"at":<uint>, /* token activation time, UNIX-time */
"ct":<uint>, /* token creation time, UNIX-time */
"dur":<uint>, /* token duration after activation, секунды */
"fl":<uint>, /* access flags */
"ll":<uint>, /* last time of using */
"ttl":<uint>, /* not actual parameter */
"items":[<long>], /* list of item ids with token granted access */
"p":<text> /* custom parameters, value must be object or an array of objects */
},
... /* other tokens (if any) */
]