Api session items geotiffs: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary Tag: Manual revert |
||
| (28 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
API Endpoint: /api/session/items/geotiffs/ | |||
Edit items with | Edit items with events described at [[Api session event editor geotiff]]. | ||
Default Query: | Default Query: | ||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/geotiffs/? | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/geotiffs/?token=API_TOKEN</syntaxhighlight> | ||
Example Response: | Example Response: | ||
<syntaxhighlight lang="text" copy>[ { | <syntaxhighlight lang="text" copy>[ { | ||
"id" : 0, | "id" : 0, | ||
"name" : "NL_GHG_kk-nhi", | "name" : "NL_GHG_kk-nhi", | ||
"override" : | "override" : true, | ||
"uploadDate" : null, | "uploadDate" : null, | ||
"uploaderName" : "NHI Data", | "uploaderName" : "NHI Data", | ||
| Line 20: | Line 20: | ||
"uploadDate" : null, | "uploadDate" : null, | ||
"uploaderName" : "NHI Data", | "uploaderName" : "NHI Data", | ||
"version" : | "version" : 2, | ||
"warnings" : "" | "warnings" : "" | ||
} ]</syntaxhighlight> | } ]</syntaxhighlight> | ||
==Limit Queries== | ==Limit Queries== | ||
Version=100: | |||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/geotiffs/?version=100&token=API_TOKEN</syntaxhighlight> | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/geotiffs/?version=100&token=API_TOKEN</syntaxhighlight> | ||
== | ==Get Queries== | ||
Attributes: | |||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/geotiffs/attributes/?token=API_TOKEN</syntaxhighlight> | |||
Max version: | |||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/geotiffs/version/?token=API_TOKEN</syntaxhighlight> | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/geotiffs/version/?token=API_TOKEN</syntaxhighlight> | ||
Count: | |||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/geotiffs/ | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/geotiffs/count/?token=API_TOKEN</syntaxhighlight> | ||
Specific Item by ID: | |||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/geotiffs/{id}/?token=API_TOKEN</syntaxhighlight> | |||
==Formats== | ==Formats== | ||
HTML: | HTML: | ||
| Line 46: | Line 50: | ||
ZIPSMILE: | ZIPSMILE: | ||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/geotiffs/?f=ZIPSMILE&token=API_TOKEN</syntaxhighlight> | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/geotiffs/?f=ZIPSMILE&token=API_TOKEN</syntaxhighlight> | ||
==Api Model DefaultGeoTiff== | |||
API Model description of DefaultGeoTiff | |||
{|class=wikitable | |||
!Name | |||
!Type | |||
!Description | |||
|- | |||
| id | |||
| int | |||
| | |||
|- | |||
| name | |||
| String | |||
| | |||
|- | |||
| override | |||
| boolean | |||
| | |||
|- | |||
| uploadDate | |||
| long | |||
| | |||
|- | |||
| uploaderName | |||
| String | |||
| | |||
|- | |||
| version | |||
| int | |||
| | |||
|- | |||
| warnings | |||
| String | |||
| | |||
|} | |||
==Api Model GeoTiff== | |||
API Model description of GeoTiff | |||
{|class=wikitable | |||
!Name | |||
!Type | |||
!Description | |||
|- | |||
| id | |||
| int | |||
| | |||
|- | |||
| name | |||
| String | |||
| | |||
|- | |||
| uploadDate | |||
| long | |||
| | |||
|- | |||
| uploaderName | |||
| String | |||
| | |||
|- | |||
| version | |||
| int | |||
| | |||
|- | |||
| warnings | |||
| String | |||
| | |||
|} | |||
{{article end|seealso=*[[Api Content Items]] | {{article end|seealso=*[[Api Content Items]] | ||
*[[Api session event editor geotiff]] | *[[Api session event editor geotiff]] | ||
| Line 51: | Line 125: | ||
[[Category:API]] | [[Category:API]] | ||
[[Category:Items]] | |||
Latest revision as of 14:56, 11 November 2026
API Endpoint: /api/session/items/geotiffs/
Edit items with events described at Api session event editor geotiff.
Default Query:
https://engine.tygron.com/api/session/items/geotiffs/?token=API_TOKENExample Response:
[ {
"id" : 0,
"name" : "NL_GHG_kk-nhi",
"override" : true,
"uploadDate" : null,
"uploaderName" : "NHI Data",
"version" : 1,
"warnings" : ""
}, {
"id" : 1,
"name" : "NL_GLG_kk-nhi",
"override" : false,
"uploadDate" : null,
"uploaderName" : "NHI Data",
"version" : 2,
"warnings" : ""
} ]Limit Queries
Version=100:
https://engine.tygron.com/api/session/items/geotiffs/?version=100&token=API_TOKENGet Queries
Attributes:
https://engine.tygron.com/api/session/items/geotiffs/attributes/?token=API_TOKENMax version:
https://engine.tygron.com/api/session/items/geotiffs/version/?token=API_TOKENCount:
https://engine.tygron.com/api/session/items/geotiffs/count/?token=API_TOKENSpecific Item by ID:
https://engine.tygron.com/api/session/items/geotiffs/{id}/?token=API_TOKENFormats
HTML:
https://engine.tygron.com/api/session/items/geotiffs/?f=HTML&token=API_TOKENJSON:
https://engine.tygron.com/api/session/items/geotiffs/?f=JSON&token=API_TOKENCSV:
https://engine.tygron.com/api/session/items/geotiffs/?f=CSV&token=API_TOKENSSV:
https://engine.tygron.com/api/session/items/geotiffs/?f=SSV&token=API_TOKENSMILE:
https://engine.tygron.com/api/session/items/geotiffs/?f=SMILE&token=API_TOKENZIPJSON:
https://engine.tygron.com/api/session/items/geotiffs/?f=ZIPJSON&token=API_TOKENZIPSMILE:
https://engine.tygron.com/api/session/items/geotiffs/?f=ZIPSMILE&token=API_TOKENApi Model DefaultGeoTiff
API Model description of DefaultGeoTiff
| Name | Type | Description |
|---|---|---|
| id | int | |
| name | String | |
| override | boolean | |
| uploadDate | long | |
| uploaderName | String | |
| version | int | |
| warnings | String |
Api Model GeoTiff
API Model description of GeoTiff
| Name | Type | Description |
|---|---|---|
| id | int | |
| name | String | |
| uploadDate | long | |
| uploaderName | String | |
| version | int | |
| warnings | String |