Api session stream: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(22 intermediate revisions by the same user not shown)
Line 1: Line 1:
API Base URL: api/session/stream/
===GET stream===
API Endpoint: api/session/stream/
API Endpoint: api/session/stream/


======
'''Parameters:''' None
Path: api/session/stream/
===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
|
|}
 
===GET export===
API Endpoint: api/session/stream/export
 
'''Parameters:'''
{|class=wikitable
!Name
!Location
!Type
!Default value
|-
| f
| Query
| [[Format]]
| BINARY
|-
| maplink
| Query
| [[Maplink]]
|
|-
| id
| Query
| Integer
|
|}
 
===='''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>


'''Parameters:''' None
{{article end
{{article end
|seealso=
|seealso=

Latest revision as of 10:01, 13 July 2026

API Base URL: api/session/stream/

GET stream

API Endpoint: api/session/stream/

Parameters: None

POST 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

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_TOKEN

Export Geo Tiffs ID: 1:

https://engine.tygron.com/api/session/stream/export?mapLink=GEO_TIFFS&id=ID&token=API_TOKEN

Export Geo Tiffs ID: 2:

https://engine.tygron.com/api/session/stream/export?mapLink=GEO_TIFFS&id=ID&token=API_TOKEN

See also