Api session stream: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (10 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
API | API Base URL: api/session/stream/ | ||
===GET stream=== | ===GET stream=== | ||
| Line 5: | Line 5: | ||
'''Parameters:''' None | '''Parameters:''' None | ||
===GET | ===GET export=== | ||
API Endpoint: api/session/stream/ | API Endpoint: api/session/stream/export | ||
'''Parameters:''' | '''Parameters:''' | ||
| Line 31: | Line 31: | ||
|} | |} | ||
===POST | ====Examples==== | ||
API Endpoint: api/session/stream/ | '''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=== | |||
API Endpoint: api/session/stream/import | |||
Content-Type: application/json | |||
'''Parameters:''' | '''Parameters:''' | ||
| Line 76: | Line 88: | ||
| | | | ||
|} | |} | ||
{{article end | {{article end | ||
Latest revision as of 09:56, 5 October 2026
API Base URL: 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
Content-Type: application/json
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 |