Api session location: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tag: Reverted |
No edit summary Tags: Manual revert Reverted |
||
| Line 26: | Line 26: | ||
| 2024 | | 2024 | ||
|} | |} | ||
===='''Examples==== | |||
'''HTML''': | |||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/location/?f=HTML&token=API_TOKEN</syntaxhighlight> | |||
'''JSON''': | |||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/location/?f=JSON&token=API_TOKEN</syntaxhighlight> | |||
'''GEOJSON''': | |||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/location/?f=GEOJSON&token=API_TOKEN</syntaxhighlight> | |||
'''SMILE''': | |||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/location/?f=SMILE&token=API_TOKEN</syntaxhighlight> | |||
'''ZIPJSON''': | |||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/location/?f=ZIPJSON&token=API_TOKEN</syntaxhighlight> | |||
'''ZIPSMILE''': | |||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/location/?f=ZIPSMILE&token=API_TOKEN</syntaxhighlight> | |||
{{article end | {{article end | ||
Revision as of 12:51, 15 June 2026
API Endpoint: api/session/location/
GET location
API Endpoint: api/session/location
Parameters:
| Name | Location | Type | Default value |
|---|---|---|---|
| crs | Query | String | EPSG:3857 |
| f | Query | Format | HTML |
| api-version | Query | String | 2024 |
Examples
HTML:
https://engine.tygron.com/api/session/location/?f=HTML&token=API_TOKENJSON:
https://engine.tygron.com/api/session/location/?f=JSON&token=API_TOKENGEOJSON:
https://engine.tygron.com/api/session/location/?f=GEOJSON&token=API_TOKENSMILE:
https://engine.tygron.com/api/session/location/?f=SMILE&token=API_TOKENZIPJSON:
https://engine.tygron.com/api/session/location/?f=ZIPJSON&token=API_TOKENZIPSMILE:
https://engine.tygron.com/api/session/location/?f=ZIPSMILE&token=API_TOKEN