Table of Contents

Get token list

For getting token list please use token/list:

svc=token/list&params={"userId":<text>}

Parameters

Param DescriptionComments
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) */
]
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2024 Gurtam