Api session items popups: 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 |Api session event editor ]]. | Manipulate items with event: [[Api session event editor |Api session event editor ]]. | ||
Default Query: | |||
<pre>https://engine.tygron.com/api/session/items/popups/?f=JSON&token=API_TOKEN</pre> | |||
Example Response: | |||
<pre>[ { | |||
"answers" : [ ], | |||
"calendar" : null, | |||
"color" : { | |||
"argb" : -6704129 | |||
}, | |||
"id" : 0, | |||
"imageType" : "RECEIVE_REQUEST", | |||
"linkID" : 1, | |||
"linkType" : "PANELS", | |||
"modelDataID" : -1, | |||
"modelType" : "DECLINED", | |||
"name" : " 1", | |||
"opensAutomatically" : false, | |||
"overrideAttention" : true, | |||
"point" : { | |||
"type" : "Point", | |||
"coordinates" : [ 658907.9990757483, 6798948.801026824, 36.557 ] | |||
}, | |||
"polygons" : null, | |||
"scale" : 1.0, | |||
"text" : "", | |||
"title" : "Text Panel", | |||
"type" : "INTERACTION", | |||
"version" : 3, | |||
"visibleForStakeholderIDs" : [ 0, 1, 2, 3, 4, 5 ], | |||
"visibleTimeframe" : 0 | |||
}, { | |||
"answers" : [ ], | |||
"calendar" : null, | |||
"color" : { | |||
"argb" : -19610 | |||
}, | |||
"id" : 1, | |||
"imageType" : "RECEIVE_REQUEST", | |||
"linkID" : 2, | |||
"linkType" : "PANELS", | |||
"modelDataID" : -1, | |||
"modelType" : "ELEVATION", | |||
"name" : " 2", | |||
"opensAutomatically" : false, | |||
"overrideAttention" : true, | |||
"point" : { | |||
"type" : "Point", | |||
"coordinates" : [ 659100.8960954784, 6799034.555303296, 80.804 ] | |||
}, | |||
"polygons" : null, | |||
"scale" : 1.0, | |||
"text" : "", | |||
"title" : "Text Panel (2)", | |||
"type" : "INTERACTION", | |||
"version" : 6, | |||
"visibleForStakeholderIDs" : [ 0, 1, 2, 3, 4, 5 ], | |||
"visibleTimeframe" : 0 | |||
} ]</pre> | |||
==Limit Queries== | ==Limit Queries== | ||
version=100: | version=100: | ||
Latest revision as of 14:29, 1 April 2026
Api session items Popup Endpoints.
Manipulate items with event: Api session event editor .
Default Query:
https://engine.tygron.com/api/session/items/popups/?f=JSON&token=API_TOKEN
Example Response:
[ {
"answers" : [ ],
"calendar" : null,
"color" : {
"argb" : -6704129
},
"id" : 0,
"imageType" : "RECEIVE_REQUEST",
"linkID" : 1,
"linkType" : "PANELS",
"modelDataID" : -1,
"modelType" : "DECLINED",
"name" : " 1",
"opensAutomatically" : false,
"overrideAttention" : true,
"point" : {
"type" : "Point",
"coordinates" : [ 658907.9990757483, 6798948.801026824, 36.557 ]
},
"polygons" : null,
"scale" : 1.0,
"text" : "",
"title" : "Text Panel",
"type" : "INTERACTION",
"version" : 3,
"visibleForStakeholderIDs" : [ 0, 1, 2, 3, 4, 5 ],
"visibleTimeframe" : 0
}, {
"answers" : [ ],
"calendar" : null,
"color" : {
"argb" : -19610
},
"id" : 1,
"imageType" : "RECEIVE_REQUEST",
"linkID" : 2,
"linkType" : "PANELS",
"modelDataID" : -1,
"modelType" : "ELEVATION",
"name" : " 2",
"opensAutomatically" : false,
"overrideAttention" : true,
"point" : {
"type" : "Point",
"coordinates" : [ 659100.8960954784, 6799034.555303296, 80.804 ]
},
"polygons" : null,
"scale" : 1.0,
"text" : "",
"title" : "Text Panel (2)",
"type" : "INTERACTION",
"version" : 6,
"visibleForStakeholderIDs" : [ 0, 1, 2, 3, 4, 5 ],
"visibleTimeframe" : 0
} ]
Limit Queries
version=100:
https://engine.tygron.com/api/session/items/popups/?version=100&token=API_TOKEN
Pseudo-Mercator:
https://engine.tygron.com/api/session/items/popups/?crs=3857&token=API_TOKEN
Degrees:
https://engine.tygron.com/api/session/items/popups/?crs=4326&token=API_TOKEN
Amersfoort / RD New:
https://engine.tygron.com/api/session/items/popups/?crs=28992&token=API_TOKEN
Local Coordinates:
https://engine.tygron.com/api/session/items/popups/?crs=LOCAL&token=API_TOKEN
bbox=658636.7618515313,6798649.869141218,659042.7958749933,6799055.882798785:
https://engine.tygron.com/api/session/items/popups/?crs=3857&bbox=658636.7618515313,6798649.869141218,659042.7958749933,6799055.882798785&token=API_TOKEN
FOO:
https://engine.tygron.com/api/session/items/popups-foo/?crs=3857&token=API_TOKEN
Show Queries
max version:
https://engine.tygron.com/api/session/items/popups/version/?token=API_TOKEN
size:
https://engine.tygron.com/api/session/items/popups/size/?token=API_TOKEN
Popups (GeoJSON):
https://engine.tygron.com/web/popups.geojson?crs=3857&bbox=658636.7618515313,6798649.869141218,659042.7958749933,6799055.882798785&token=API_TOKEN
Formats
HTML:
https://engine.tygron.com/api/session/items/popups/?f=HTML&token=API_TOKEN
JSON:
https://engine.tygron.com/api/session/items/popups/?f=JSON&token=API_TOKEN
GEOJSON:
https://engine.tygron.com/api/session/items/popups/?f=GEOJSON&token=API_TOKEN
GPKG:
https://engine.tygron.com/api/session/items/popups/?f=GPKG&token=API_TOKEN
DXF:
https://engine.tygron.com/api/session/items/popups/?f=DXF&token=API_TOKEN
CSV:
https://engine.tygron.com/api/session/items/popups/?f=CSV&token=API_TOKEN
SSV:
https://engine.tygron.com/api/session/items/popups/?f=SSV&token=API_TOKEN
SMILE:
https://engine.tygron.com/api/session/items/popups/?f=SMILE&token=API_TOKEN
ZIPJSON:
https://engine.tygron.com/api/session/items/popups/?f=ZIPJSON&token=API_TOKEN
ZIPSMILE:
https://engine.tygron.com/api/session/items/popups/?f=ZIPSMILE&token=API_TOKEN