Api session location: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
Replaced content with "API Endpoint: api/session/location/ {{article end |seealso= *Endpoints }} Category:API"
Tags: Replaced Manual revert
No edit summary
Tag: Reverted
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
API Endpoint: api/session/location/
API Endpoint: api/session/location/
===GET location===
API Endpoint: api/session/location
'''Parameters:'''
{|class=wikitable
!Name
!Location
!Type
!Default value
|-
| crs
| Query
| String
| EPSG:3857
|-
| f
| Query
| [[Format]]
| HTML
|-
| api-version
| Query
| String
| 2024
|}
===='''Examples====
'''HTML''':
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/location/?f=HTML&token=API_TOKEN&crs=3857&api-version=2023</syntaxhighlight>
'''HTML''':
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/location/?f=HTML&token=API_TOKEN&crs=3857&api-version=2024</syntaxhighlight>
'''JSON''':
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/location/?f=JSON&token=API_TOKEN&crs=3857&api-version=2023</syntaxhighlight>
'''JSON''':
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/location/?f=JSON&token=API_TOKEN&crs=3857&api-version=2024</syntaxhighlight>
'''GEOJSON''':
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/location/?f=GEOJSON&token=API_TOKEN&crs=3857&api-version=2023</syntaxhighlight>
'''GEOJSON''':
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/location/?f=GEOJSON&token=API_TOKEN&crs=3857&api-version=2024</syntaxhighlight>
'''SMILE''':
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/location/?f=SMILE&token=API_TOKEN&crs=3857&api-version=2023</syntaxhighlight>
'''SMILE''':
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/location/?f=SMILE&token=API_TOKEN&crs=3857&api-version=2024</syntaxhighlight>
'''ZIPJSON''':
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/location/?f=ZIPJSON&token=API_TOKEN&crs=3857&api-version=2023</syntaxhighlight>
'''ZIPJSON''':
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/location/?f=ZIPJSON&token=API_TOKEN&crs=3857&api-version=2024</syntaxhighlight>
'''ZIPSMILE''':
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/location/?f=ZIPSMILE&token=API_TOKEN&crs=3857&api-version=2023</syntaxhighlight>
'''ZIPSMILE''':
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/location/?f=ZIPSMILE&token=API_TOKEN&crs=3857&api-version=2024</syntaxhighlight>


{{article end
{{article end

Revision as of 14:05, 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_TOKEN&crs=3857&api-version=2023

HTML:

https://engine.tygron.com/api/session/location/?f=HTML&token=API_TOKEN&crs=3857&api-version=2024

JSON:

https://engine.tygron.com/api/session/location/?f=JSON&token=API_TOKEN&crs=3857&api-version=2023

JSON:

https://engine.tygron.com/api/session/location/?f=JSON&token=API_TOKEN&crs=3857&api-version=2024

GEOJSON:

https://engine.tygron.com/api/session/location/?f=GEOJSON&token=API_TOKEN&crs=3857&api-version=2023

GEOJSON:

https://engine.tygron.com/api/session/location/?f=GEOJSON&token=API_TOKEN&crs=3857&api-version=2024

SMILE:

https://engine.tygron.com/api/session/location/?f=SMILE&token=API_TOKEN&crs=3857&api-version=2023

SMILE:

https://engine.tygron.com/api/session/location/?f=SMILE&token=API_TOKEN&crs=3857&api-version=2024

ZIPJSON:

https://engine.tygron.com/api/session/location/?f=ZIPJSON&token=API_TOKEN&crs=3857&api-version=2023

ZIPJSON:

https://engine.tygron.com/api/session/location/?f=ZIPJSON&token=API_TOKEN&crs=3857&api-version=2024

ZIPSMILE:

https://engine.tygron.com/api/session/location/?f=ZIPSMILE&token=API_TOKEN&crs=3857&api-version=2023

ZIPSMILE:

https://engine.tygron.com/api/session/location/?f=ZIPSMILE&token=API_TOKEN&crs=3857&api-version=2024

See also