Api session viewers: Difference between revisions
Jump to navigation
Jump to search
Created page with "API Endpoint: api/session/viewers ===GET 2dmap.html=== API Endpoint: web/2dmap.html Produces: text/html '''Parameters:''' {|class=wikitable !Name !Location !Type !Default value |- | webStakeholderID | Header | Integer | |- | base | Query | WebBaseMap | |} ===='''Examples==== '''2D Map (OpenLayers)''': <syntaxhighlight lang="text" copy>https://engine.tygron.com/web/2dmap.html?token=WEB_TOKEN</syntaxhighlight> ===GET 3dmap.html=== API Endpoint: web/3dmap.html P..." |
No edit summary |
||
| Line 1: | Line 1: | ||
API Endpoint: api/session/viewers | API Endpoint: api/session/viewers | ||
===GET | ===GET indicators.geojson=== | ||
API Endpoint: web/ | API Endpoint: web/indicators.geojson | ||
Produces: | Produces: application/json | ||
'''Parameters:''' | '''Parameters:''' | ||
| Line 18: | Line 18: | ||
| | | | ||
|- | |- | ||
| | | crs | ||
| Query | | Query | ||
| | | String | ||
| | | EPSG:3857 | ||
|} | |} | ||
===='''Examples==== | ===='''Examples==== | ||
''' | '''Indicators''': | ||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/web/ | <syntaxhighlight lang="text" copy>https://engine.tygron.com/web/indicators.geojson?token=WEB_TOKEN</syntaxhighlight> | ||
===GET | ===GET overlays.geojson=== | ||
API Endpoint: web/ | API Endpoint: web/overlays.geojson | ||
Produces: | Produces: application/json | ||
'''Parameters:''' | '''Parameters:''' | ||
| Line 45: | Line 45: | ||
| | | | ||
|- | |- | ||
| | | crs | ||
| Query | | Query | ||
| | | String | ||
| EPSG:3857 | |||
| | |||
|} | |} | ||
===='''Examples==== | ===='''Examples==== | ||
''' | '''Overlays''': | ||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/web/ | <syntaxhighlight lang="text" copy>https://engine.tygron.com/web/overlays.geojson?token=WEB_TOKEN</syntaxhighlight> | ||
===GET | ===GET neighborhoods.geojson=== | ||
API Endpoint: web/ | API Endpoint: web/neighborhoods.geojson | ||
Produces: application/json | Produces: application/json | ||
| Line 91: | Line 66: | ||
!Type | !Type | ||
!Default value | !Default value | ||
|- | |- | ||
| crs | | crs | ||
| Query | | Query | ||
| String | | String | ||
| | | EPSG:3857 | ||
|} | |} | ||
===='''Examples==== | ===='''Examples==== | ||
''' | '''Neighborhoods''': | ||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/web/ | <syntaxhighlight lang="text" copy>https://engine.tygron.com/web/neighborhoods.geojson?token=WEB_TOKEN</syntaxhighlight> | ||
===GET actionmenus.geojson=== | |||
API Endpoint: web/actionmenus.geojson | |||
Produces: application/json | |||
'''Parameters:''' | '''Parameters:''' | ||
| Line 172: | Line 89: | ||
!Default value | !Default value | ||
|- | |- | ||
| | | webStakeholderID | ||
| | | Header | ||
| | | Integer | ||
| | | | ||
|- | |- | ||
| | | crs | ||
| Query | | Query | ||
| String | | String | ||
| | | EPSG:3857 | ||
|} | |} | ||
===='''Examples==== | ===='''Examples==== | ||
''' | '''Actions''': | ||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/web/ | <syntaxhighlight lang="text" copy>https://engine.tygron.com/web/actionmenus.geojson?token=WEB_TOKEN</syntaxhighlight> | ||
===GET popups.geojson=== | |||
API Endpoint: web/popups.geojson | |||
Produces: application/json | |||
'''Parameters:''' | '''Parameters:''' | ||
| Line 249: | Line 120: | ||
| Integer | | Integer | ||
| | | | ||
|- | |- | ||
| bbox | | bbox | ||
| Line 259: | Line 125: | ||
| String | | String | ||
| | | | ||
|- | |- | ||
| crs | | crs | ||
| Line 289: | Line 130: | ||
| String | | String | ||
| EPSG:3857 | | EPSG:3857 | ||
|} | |} | ||
===='''Examples==== | ===='''Examples==== | ||
''' | '''Popups''': | ||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/web/ | <syntaxhighlight lang="text" copy>https://engine.tygron.com/web/popups.geojson?token=WEB_TOKEN</syntaxhighlight> | ||
===GET | ===GET lines.geojson=== | ||
API Endpoint: web/ | API Endpoint: web/lines.geojson | ||
Produces: application/json | |||
'''Parameters:''' | '''Parameters:''' | ||
| Line 359: | Line 147: | ||
!Type | !Type | ||
!Default value | !Default value | ||
|- | |- | ||
| bbox | | bbox | ||
| Line 370: | Line 153: | ||
| | | | ||
|- | |- | ||
| | | minlength | ||
| Query | | Query | ||
| | | Double | ||
| | | | ||
|- | |- | ||
| | | maxlength | ||
| Query | | Query | ||
| | | Double | ||
| | | | ||
|- | |- | ||
| | | type | ||
| Query | | Query | ||
| | | [[Net Type]] | ||
| | | | ||
|- | |- | ||
| | | crs | ||
| Query | | Query | ||
| | | String | ||
| | | EPSG:3857 | ||
|} | |} | ||
===='''Examples==== | ===='''Examples==== | ||
''' | '''Lines''': | ||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/web/ | <syntaxhighlight lang="text" copy>https://engine.tygron.com/web/lines.geojson?token=WEB_TOKEN</syntaxhighlight> | ||
===GET scenarios.geojson=== | |||
API Endpoint: web/scenarios.geojson | |||
Produces: application/json | |||
'''Parameters:''' | '''Parameters:''' | ||
| Line 437: | Line 190: | ||
!Default value | !Default value | ||
|- | |- | ||
| | | webStakeholderID | ||
| | | Header | ||
| Integer | | Integer | ||
| | | | ||
|- | |- | ||
| Line 506: | Line 199: | ||
| String | | String | ||
| EPSG:3857 | | EPSG:3857 | ||
|} | |} | ||
===='''Examples==== | ===='''Examples==== | ||
''' | '''Scenarios''': | ||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/ | <syntaxhighlight lang="text" copy>https://engine.tygron.com/web/scenarios.geojson?token=WEB_TOKEN</syntaxhighlight> | ||
{{article end | {{article end | ||
Revision as of 14:05, 15 June 2026
API Endpoint: api/session/viewers
GET indicators.geojson
API Endpoint: web/indicators.geojson
Produces: application/json
Parameters:
| Name | Location | Type | Default value |
|---|---|---|---|
| webStakeholderID | Header | Integer | |
| crs | Query | String | EPSG:3857 |
Examples
Indicators:
https://engine.tygron.com/web/indicators.geojson?token=WEB_TOKENGET overlays.geojson
API Endpoint: web/overlays.geojson
Produces: application/json
Parameters:
| Name | Location | Type | Default value |
|---|---|---|---|
| webStakeholderID | Header | Integer | |
| crs | Query | String | EPSG:3857 |
Examples
Overlays:
https://engine.tygron.com/web/overlays.geojson?token=WEB_TOKENGET neighborhoods.geojson
API Endpoint: web/neighborhoods.geojson
Produces: application/json
Parameters:
| Name | Location | Type | Default value |
|---|---|---|---|
| crs | Query | String | EPSG:3857 |
Examples
Neighborhoods:
https://engine.tygron.com/web/neighborhoods.geojson?token=WEB_TOKENGET actionmenus.geojson
API Endpoint: web/actionmenus.geojson
Produces: application/json
Parameters:
| Name | Location | Type | Default value |
|---|---|---|---|
| webStakeholderID | Header | Integer | |
| crs | Query | String | EPSG:3857 |
Examples
Actions:
https://engine.tygron.com/web/actionmenus.geojson?token=WEB_TOKENGET popups.geojson
API Endpoint: web/popups.geojson
Produces: application/json
Parameters:
| Name | Location | Type | Default value |
|---|---|---|---|
| webStakeholderID | Header | Integer | |
| bbox | Query | String | |
| crs | Query | String | EPSG:3857 |
Examples
Popups:
https://engine.tygron.com/web/popups.geojson?token=WEB_TOKENGET lines.geojson
API Endpoint: web/lines.geojson
Produces: application/json
Parameters:
| Name | Location | Type | Default value |
|---|---|---|---|
| bbox | Query | String | |
| minlength | Query | Double | |
| maxlength | Query | Double | |
| type | Query | Net Type | |
| crs | Query | String | EPSG:3857 |
Examples
Lines:
https://engine.tygron.com/web/lines.geojson?token=WEB_TOKENGET scenarios.geojson
API Endpoint: web/scenarios.geojson
Produces: application/json
Parameters:
| Name | Location | Type | Default value |
|---|---|---|---|
| webStakeholderID | Header | Integer | |
| crs | Query | String | EPSG:3857 |
Examples
Scenarios:
https://engine.tygron.com/web/scenarios.geojson?token=WEB_TOKEN