Api session items unitdatas: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 3: | Line 3: | ||
Manipulate items with event: [[Api session event editor unitdataoverride|editorunitdataoverride]]. | Manipulate items with event: [[Api session event editor unitdataoverride|editorunitdataoverride]]. | ||
Default Query: | |||
<pre>https://engine.tygron.com/api/session/items/unitdatas/?f=JSON&token=API_TOKEN</pre> | |||
Example Response: | |||
<pre>[ { | |||
"active" : false, | |||
"colors" : [ { | |||
"argb" : -2694430 | |||
}, { | |||
"argb" : -5323066 | |||
}, { | |||
"argb" : -16169168 | |||
}, { | |||
"argb" : -14920883 | |||
}, { | |||
"argb" : -13550753 | |||
}, { | |||
"argb" : -14207929 | |||
}, { | |||
"argb" : -11710124 | |||
}, { | |||
"argb" : -10262421 | |||
}, { | |||
"argb" : -13619665 | |||
}, { | |||
"argb" : -14862524 | |||
}, { | |||
"argb" : -7529953 | |||
}, { | |||
"argb" : -10542299 | |||
} ], | |||
"fileName" : "motorcycle", | |||
"id" : 0, | |||
"isAlpha" : false, | |||
"name" : "Scooter", | |||
"particleEmitters" : [ ], | |||
"proximityWarningM" : -1.0, | |||
"regions" : [ ], | |||
"type" : "CAR", | |||
"version" : 1 | |||
}, { | |||
"active" : true, | |||
"colors" : [ { | |||
"argb" : -2694430 | |||
}, { | |||
"argb" : -5323066 | |||
} ], | |||
"fileName" : "plezierboot", | |||
"id" : 1, | |||
"isAlpha" : false, | |||
"name" : "Pleasure Boat", | |||
"particleEmitters" : [ ], | |||
"proximityWarningM" : -1.0, | |||
"regions" : [ ], | |||
"type" : "SHIP", | |||
"version" : 2 | |||
} ]</pre> | |||
==Limit Queries== | ==Limit Queries== | ||
version=100: | version=100: | ||
Latest revision as of 14:29, 1 April 2026
Api session items Unit Datas Endpoints.
Manipulate items with event: editorunitdataoverride.
Default Query:
https://engine.tygron.com/api/session/items/unitdatas/?f=JSON&token=API_TOKEN
Example Response:
[ {
"active" : false,
"colors" : [ {
"argb" : -2694430
}, {
"argb" : -5323066
}, {
"argb" : -16169168
}, {
"argb" : -14920883
}, {
"argb" : -13550753
}, {
"argb" : -14207929
}, {
"argb" : -11710124
}, {
"argb" : -10262421
}, {
"argb" : -13619665
}, {
"argb" : -14862524
}, {
"argb" : -7529953
}, {
"argb" : -10542299
} ],
"fileName" : "motorcycle",
"id" : 0,
"isAlpha" : false,
"name" : "Scooter",
"particleEmitters" : [ ],
"proximityWarningM" : -1.0,
"regions" : [ ],
"type" : "CAR",
"version" : 1
}, {
"active" : true,
"colors" : [ {
"argb" : -2694430
}, {
"argb" : -5323066
} ],
"fileName" : "plezierboot",
"id" : 1,
"isAlpha" : false,
"name" : "Pleasure Boat",
"particleEmitters" : [ ],
"proximityWarningM" : -1.0,
"regions" : [ ],
"type" : "SHIP",
"version" : 2
} ]
Limit Queries
version=100:
https://engine.tygron.com/api/session/items/unitdatas/?version=100&token=API_TOKEN
Show Queries
max version:
https://engine.tygron.com/api/session/items/unitdatas/version/?token=API_TOKEN
size:
https://engine.tygron.com/api/session/items/unitdatas/size/?token=API_TOKEN
Formats
HTML:
https://engine.tygron.com/api/session/items/unitdatas/?f=HTML&token=API_TOKEN
JSON:
https://engine.tygron.com/api/session/items/unitdatas/?f=JSON&token=API_TOKEN
CSV:
https://engine.tygron.com/api/session/items/unitdatas/?f=CSV&token=API_TOKEN
SSV:
https://engine.tygron.com/api/session/items/unitdatas/?f=SSV&token=API_TOKEN
SMILE:
https://engine.tygron.com/api/session/items/unitdatas/?f=SMILE&token=API_TOKEN
ZIPJSON:
https://engine.tygron.com/api/session/items/unitdatas/?f=ZIPJSON&token=API_TOKEN
ZIPSMILE:
https://engine.tygron.com/api/session/items/unitdatas/?f=ZIPSMILE&token=API_TOKEN