Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
en:sidebar:remoteapi:apiref:token:update [08/07/2015 11:05]
127.0.0.1 external edit
en:sidebar:remoteapi:apiref:token:update [21/12/2020 07:24]
chdi [Parameters]
Line 24: Line 24:
 | app | application name | | app | application name |
 | at | token activation time, UNIX-time:​\\ 0 - now | | at | token activation time, UNIX-time:​\\ 0 - now |
-| dur | token duration after activation, seconds:\\ if 0 -- duration is infinite |+| dur | token duration after activation, seconds:​\\ ​max value = 8640000 (100 days) if 0 -- duration is infinite |
 | fl | access flags | | fl | access flags |
 | p | custom parameters, value must be object or an array of objects\\ p:{} is minimal | | p | custom parameters, value must be object or an array of objects\\ p:{} is minimal |
-| items | list of item ids with token granted access |+| items | list of item ids with token granted access, optional ​|
 | deleteAll | actual for **callMode:​delete**;​ values: **1** or **true** - delete all created tokens | | deleteAll | actual for **callMode:​delete**;​ values: **1** or **true** - delete all created tokens |
  
Line 51: Line 51:
 |  0x1000 ​ | modification of critical data, including messages deletion | |  0x1000 ​ | modification of critical data, including messages deletion |
 |  0x2000 ​ | communication | |  0x2000 ​ | communication |
-|  ​-1  | unlimited operation as authorizated user\\ (allows to manage user tokens) |+|  ​0xFFFFFFFF ​ | unlimited operation as authorizated user\\ (allows to manage user tokens) |
  
 :!: More info you can get [[../​format/​token|here]]. :!: More info you can get [[../​format/​token|here]].
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2024 Gurtam