Api session stream: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
Created page with "API Endpoint: https://development.tygron.com/api/session/stream/?token=31410104zAuxtcJo8WGhL6iYlCDnU5hd ====== Path: api/session/stream/ '''Parameters:''' None {{article end |seealso= *Endpoints }} Category:API"
 
No edit summary
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
API Endpoint: https://development.tygron.com/api/session/stream/?token=31410104zAuxtcJo8WGhL6iYlCDnU5hd
API Endpoint: api/session/stream/


======
===GET===
Path: api/session/stream/
API Endpoint: api/session/stream/


'''Parameters:''' None
'''Parameters:''' None
===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>
===POST import===
API Endpoint: api/session/stream/import
'''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
|seealso=
|seealso=

Latest revision as of 14:05, 15 June 2026

API Endpoint: api/session/stream/

GET

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_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

POST 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

See also