Api session stream: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
API Endpoint: api/session/stream/ | API Endpoint: api/session/stream/ | ||
===GET=== | ===GET stream=== | ||
API Endpoint: api/session/stream/ | API Endpoint: api/session/stream/ | ||
'''Parameters:''' None | '''Parameters:''' None | ||
===GET export=== | ===GET export=== | ||
API Endpoint: api/session/stream/ | API Endpoint: api/session/stream/export | ||
'''Parameters:''' | '''Parameters:''' | ||
| Line 30: | Line 30: | ||
| | | | ||
|} | |} | ||
===='''Examples==== | |||
'''Export Geo Tiffs ID: 0''': | |||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/stream/export?mapLink=GEO_TIFFS&id=ID&token=API_TOKEN</syntaxhighlight> | |||
'''Export Geo Tiffs ID: 1''': | |||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/stream/export?mapLink=GEO_TIFFS&id=ID&token=API_TOKEN</syntaxhighlight> | |||
'''Export Geo Tiffs ID: 2''': | |||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/stream/export?mapLink=GEO_TIFFS&id=ID&token=API_TOKEN</syntaxhighlight> | |||
===POST import=== | ===POST import=== | ||
API Endpoint: api/session/stream/ | API Endpoint: api/session/stream/import | ||
'''Parameters:''' | '''Parameters:''' | ||
| Line 76: | Line 86: | ||
| | | | ||
|} | |} | ||
{{article end | {{article end | ||
Revision as of 08:55, 19 June 2026
API Endpoint: api/session/stream/
GET stream
API Endpoint: api/session/stream/
Parameters: None
GET export
API Endpoint: api/session/stream/export
Parameters:
| Name | Location | Type | Default value |
|---|---|---|---|
| f | Query | Format | BINARY |
| maplink | Query | Maplink | |
| id | Query | Integer |
Examples
Export Geo Tiffs ID: 0:
https://engine.tygron.com/api/session/stream/export?mapLink=GEO_TIFFS&id=ID&token=API_TOKENExport Geo Tiffs ID: 1:
https://engine.tygron.com/api/session/stream/export?mapLink=GEO_TIFFS&id=ID&token=API_TOKENExport Geo Tiffs ID: 2:
https://engine.tygron.com/api/session/stream/export?mapLink=GEO_TIFFS&id=ID&token=API_TOKENPOST import
API Endpoint: api/session/stream/import
Parameters:
| Name | Location | Type | Default value |
|---|---|---|---|
| maplink | Query | Maplink | |
| id | Query | Integer | |
| input | Query | Format | BINARY |
| f | Query | Format | JSON |
| name | Query | String | |
| uploader | Query | String | |
| crs | Query | String |