Api session stream: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tag: Reverted |
No edit summary |
||
| (6 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
API Endpoint: api/session/stream/ | API Base URL: api/session/stream/ | ||
===GET stream=== | |||
API Endpoint: api/session/stream/ | |||
'''Parameters:''' None | |||
===GET export=== | ===GET export=== | ||
API Endpoint: api/session/stream/export | API Endpoint: api/session/stream/export | ||
'''Parameters:''' | '''Parameters:''' | ||
| Line 29: | Line 31: | ||
|} | |} | ||
==== | ====Examples==== | ||
'''Export Geo Tiffs ID: 0''': | '''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> | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/stream/export?mapLink=GEO_TIFFS&id=ID&token=API_TOKEN</syntaxhighlight> | ||
| Line 38: | Line 40: | ||
'''Export Geo Tiffs ID: 2''': | '''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> | <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:''' | |||
{|class=wikitable | |||
!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 | |||
| | |||
|} | |||
{{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 |