Api session items overlays: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
Api session items [[Overlay]] Endpoints. | Api session items [[Overlay]] Endpoints. | ||
Manipulate items with event: [[Api session event editor | Manipulate items with event: [[Api session event editor |Api session event editor ]]. | ||
Default Query: | Default Query: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/overlays/?f=JSON&token=API_TOKEN</syntaxhighlight> | ||
Example Response: | Example Response: | ||
< | <syntaxhighlight lang="text" copy>[ { | ||
"attributes" : { | "attributes" : { | ||
"FOO" : [ 1.0 ], | "FOO" : [ 1.0 ], | ||
"PINO" : [ | "PINO" : [ 16.194137 ], | ||
"SINGLE" : [ 75.624039 ], | "SINGLE" : [ 75.624039 ], | ||
"SJAAKIE" : [ | "SJAAKIE" : [ 2.135843 ] | ||
}, | }, | ||
"colorMultiplier" : 1.0, | "colorMultiplier" : 1.0, | ||
| Line 21: | Line 21: | ||
"legend" : [ ], | "legend" : [ ], | ||
"maquetteOverride" : null, | "maquetteOverride" : null, | ||
"name" : " | "name" : "Z8oWR", | ||
"parentID" : -1, | "parentID" : -1, | ||
"sortIndex" : 52, | "sortIndex" : 52, | ||
| Line 82: | Line 82: | ||
} ], | } ], | ||
"maquetteOverride" : null, | "maquetteOverride" : null, | ||
"name" : " | "name" : "XT39f", | ||
"parentID" : -1, | "parentID" : -1, | ||
"sortIndex" : 51, | "sortIndex" : 51, | ||
| Line 88: | Line 88: | ||
"version" : 12, | "version" : 12, | ||
"visible" : true | "visible" : true | ||
} ]</ | } ]</syntaxhighlight> | ||
==Limit Queries== | ==Limit Queries== | ||
version=100: | version=100: | ||
| Line 115: | Line 115: | ||
<pre>https://engine.tygron.com/api/session/items/overlays/?f=ZIPSMILE&token=API_TOKEN</pre> | <pre>https://engine.tygron.com/api/session/items/overlays/?f=ZIPSMILE&token=API_TOKEN</pre> | ||
{{article end|seealso=*[[Api Content Items]] | {{article end|seealso=*[[Api Content Items]] | ||
*[[Api session event editor | *[[Api session event editor ]] | ||
}} | }} | ||
[[Category:API]] | [[Category:API]] | ||
Revision as of 11:35, 10 April 2026
Api session items Overlay Endpoints.
Manipulate items with event: Api session event editor .
Default Query:
https://engine.tygron.com/api/session/items/overlays/?f=JSON&token=API_TOKENExample Response:
[ {
"attributes" : {
"FOO" : [ 1.0 ],
"PINO" : [ 16.194137 ],
"SINGLE" : [ 75.624039 ],
"SJAAKIE" : [ 2.135843 ]
},
"colorMultiplier" : 1.0,
"colorOffset" : 127,
"customLegend" : false,
"id" : 0,
"imageName" : "normal.png",
"imageVersion" : 0,
"legend" : [ ],
"maquetteOverride" : null,
"name" : "Z8oWR",
"parentID" : -1,
"sortIndex" : 52,
"type" : null,
"version" : 1,
"visible" : true
}, {
"attributes" : {
"PINO" : [ 1.0 ],
"SJAAKIE" : [ 1.0 ]
},
"colorMultiplier" : 1.0,
"colorOffset" : 127,
"customLegend" : false,
"id" : 1,
"imageName" : "neighborhoods.png",
"imageVersion" : 0,
"legend" : [ {
"color" : {
"argb" : -9772392
},
"entryName" : "buurt",
"id" : 1,
"value" : "-Infinity"
}, {
"color" : {
"argb" : -1877165
},
"entryName" : "Sonsbeek-Noord",
"id" : 2,
"value" : "-Infinity"
}, {
"color" : {
"argb" : -16173383
},
"entryName" : "Onder de Linden",
"id" : 3,
"value" : "-Infinity"
}, {
"color" : {
"argb" : -6740311
},
"entryName" : "St. Janskerkstraat e.o.",
"id" : 4,
"value" : "-Infinity"
}, {
"color" : {
"argb" : -15232895
},
"entryName" : "Hazegrietje",
"id" : 5,
"value" : "-Infinity"
}, {
"color" : {
"argb" : -4609484
},
"entryName" : "Klarenbeek",
"id" : 6,
"value" : "-Infinity"
} ],
"maquetteOverride" : null,
"name" : "XT39f",
"parentID" : -1,
"sortIndex" : 51,
"type" : "NEIGHBORHOODS",
"version" : 12,
"visible" : true
} ]Limit Queries
version=100:
https://engine.tygron.com/api/session/items/overlays/?version=100&token=API_TOKEN
Show Queries
max version:
https://engine.tygron.com/api/session/items/overlays/version/?token=API_TOKEN
size:
https://engine.tygron.com/api/session/items/overlays/size/?token=API_TOKEN
Overlays (GeoJSON):
https://engine.tygron.com/web/overlays.geojson?token=API_TOKEN
Formats
HTML:
https://engine.tygron.com/api/session/items/overlays/?f=HTML&token=API_TOKEN
JSON:
https://engine.tygron.com/api/session/items/overlays/?f=JSON&token=API_TOKEN
CSV:
https://engine.tygron.com/api/session/items/overlays/?f=CSV&token=API_TOKEN
SSV:
https://engine.tygron.com/api/session/items/overlays/?f=SSV&token=API_TOKEN
SMILE:
https://engine.tygron.com/api/session/items/overlays/?f=SMILE&token=API_TOKEN
ZIPJSON:
https://engine.tygron.com/api/session/items/overlays/?f=ZIPJSON&token=API_TOKEN
ZIPSMILE:
https://engine.tygron.com/api/session/items/overlays/?f=ZIPSMILE&token=API_TOKEN