Api session items sources: Difference between revisions
Jump to navigation
Jump to search
Created page with "api session items Source Endpoints. Manipulate items with event: editorsource. ==Limit Queries==version=100: <pre>https://engine.tygron.com/api/session/items/sources/?version=100&token=API_TOKEN</pre> ==Limit Queries==max version: <pre>https://engine.tygron.com/api/session/items/sources/version/?token=API_TOKEN</pre> size: <pre>https://engine.tygron.com/api/session/items/sources/size/?token=API_TOKEN</pre> ==Limit Queries==HTML: <pre>https://engine.tygron.com..." |
No edit summary |
||
| (21 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
Api session items [[Source]] Endpoint: /api/session/items/sources/ | |||
==Limit Queries==version=100: | Edit items with events described at [[Api session event editor source]]. | ||
< | |||
== | Default Query: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/sources/?f=JSON&token=API_TOKEN</syntaxhighlight> | ||
Example Response: | |||
<syntaxhighlight lang="text" copy>[ { | |||
"color" : { | |||
"argb" : -3127648 | |||
}, | |||
"date" : 1506084493777, | |||
"description" : "Data consisting of buildings and a partial selection of Dutch BAG data of these buildings and the residential units in them. The locations are also included, along with a subset of BAG data.", | |||
"format" : "WFS_JSON", | |||
"id" : 0, | |||
"infoUrl" : "https://www.pdok.nl/introductie/-/article/basisregistratie-adressen-en-gebouwen-ba-1", | |||
"name" : "BAG", | |||
"uploaderName" : "Kadaster", | |||
"url" : "https://service.pdok.nl/lv/bag/wfs/v2_0", | |||
"version" : 2 | |||
}, { | |||
"color" : { | |||
"argb" : -2963406 | |||
}, | |||
"date" : 1506084493777, | |||
"description" : "Crop plots consist of the location of agricultural plots along with the crop currently grown on them. The file is a selection of information from the Base Registration of Plots (BRP) of the Netherlands Enterprise Agency.", | |||
"format" : "WFS_JSON", | |||
"id" : 1, | |||
"infoUrl" : "https://www.pdok.nl/introductie/-/article/basisregistratie-gewaspercelen-brp-", | |||
"name" : "BRP", | |||
"uploaderName" : "Rijksdienst voor Ondernemend Nederland", | |||
"url" : "https://service.pdok.nl/rvo/brpgewaspercelen/wfs/v1_0", | |||
"version" : 1 | |||
} ]</syntaxhighlight> | |||
==Limit Queries== | |||
version=100: | |||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/sources/?version=100&token=API_TOKEN</syntaxhighlight> | |||
==Show Queries== | |||
max version: | |||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/sources/version/?token=API_TOKEN</syntaxhighlight> | |||
size: | size: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/sources/size/?token=API_TOKEN</syntaxhighlight> | ||
== | ==Formats== | ||
< | HTML: | ||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/sources/?f=HTML&token=API_TOKEN</syntaxhighlight> | |||
JSON: | JSON: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/sources/?f=JSON&token=API_TOKEN</syntaxhighlight> | ||
CSV: | CSV: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/sources/?f=CSV&token=API_TOKEN</syntaxhighlight> | ||
SSV: | SSV: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/sources/?f=SSV&token=API_TOKEN</syntaxhighlight> | ||
SMILE: | SMILE: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/sources/?f=SMILE&token=API_TOKEN</syntaxhighlight> | ||
ZIPJSON: | ZIPJSON: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/sources/?f=ZIPJSON&token=API_TOKEN</syntaxhighlight> | ||
ZIPSMILE: | ZIPSMILE: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/sources/?f=ZIPSMILE&token=API_TOKEN</syntaxhighlight> | ||
{{article end|seealso=*[[Api Content Items]]}} | ==Api Model CatalogSource== | ||
API Model description of CatalogSource | |||
{|class=wikitable | |||
!Name | |||
!Type | |||
!Description | |||
|- | |||
|date | |||
|long | |||
| | |||
|- | |||
|description | |||
|String | |||
| | |||
|- | |||
|id | |||
|int | |||
| | |||
|- | |||
|infoUrl | |||
|String | |||
| | |||
|- | |||
|name | |||
|String | |||
| | |||
|- | |||
|type | |||
|GeoCatalog | |||
| | |||
|- | |||
|uploaderName | |||
|String | |||
| | |||
|- | |||
|url | |||
|String | |||
| | |||
|- | |||
|version | |||
|int | |||
| | |||
|} | |||
==Api Model DefaultSource== | |||
API Model description of DefaultSource | |||
{|class=wikitable | |||
!Name | |||
!Type | |||
!Description | |||
|- | |||
|color | |||
|TColor | |||
| | |||
|- | |||
|date | |||
|long | |||
| | |||
|- | |||
|description | |||
|String | |||
| | |||
|- | |||
|id | |||
|int | |||
| | |||
|- | |||
|infoUrl | |||
|String | |||
| | |||
|- | |||
|name | |||
|String | |||
| | |||
|- | |||
|uploaderName | |||
|String | |||
| | |||
|- | |||
|version | |||
|int | |||
| | |||
|} | |||
==Api Model FileSource== | |||
API Model description of FileSource | |||
{|class=wikitable | |||
!Name | |||
!Type | |||
!Description | |||
|- | |||
|date | |||
|long | |||
| | |||
|- | |||
|description | |||
|String | |||
| | |||
|- | |||
|id | |||
|int | |||
| | |||
|- | |||
|infoUrl | |||
|String | |||
| | |||
|- | |||
|name | |||
|String | |||
| | |||
|- | |||
|uploaderName | |||
|String | |||
| | |||
|- | |||
|version | |||
|int | |||
| | |||
|} | |||
==Api Model GeoCatalog== | |||
API Enumeration description of GeoCatalog | |||
{|class=wikitable | |||
!Name | |||
!Description | |||
|- | |||
|CSW | |||
| | |||
|- | |||
|ESRI | |||
| | |||
|} | |||
==Api Model GeoFormat== | |||
API Enumeration description of GeoFormat | |||
{|class=wikitable | |||
!Name | |||
!Description | |||
|- | |||
|GEOJSON | |||
| | |||
|- | |||
|GEOPACKAGE | |||
| | |||
|- | |||
|WFS_JSON | |||
| | |||
|- | |||
|WFS_GML | |||
| | |||
|- | |||
|WMS_IMAGE | |||
| | |||
|- | |||
|WCS_TIFF | |||
| | |||
|- | |||
|OSM | |||
| | |||
|- | |||
|BGT_GML | |||
| | |||
|- | |||
|ESRI_JSON | |||
| | |||
|- | |||
|ESRI_IMAGE | |||
| | |||
|- | |||
|CYCLO_IMAGE | |||
| | |||
|- | |||
|I3S | |||
| | |||
|- | |||
|GEOTIFF | |||
| | |||
|- | |||
|DXF | |||
| | |||
|} | |||
==Api Model ServiceSource== | |||
API Model description of ServiceSource | |||
{|class=wikitable | |||
!Name | |||
!Type | |||
!Description | |||
|- | |||
|color | |||
|TColor | |||
| | |||
|- | |||
|date | |||
|long | |||
| | |||
|- | |||
|description | |||
|String | |||
| | |||
|- | |||
|format | |||
|GeoFormat | |||
| | |||
|- | |||
|id | |||
|int | |||
| | |||
|- | |||
|infoUrl | |||
|String | |||
| | |||
|- | |||
|name | |||
|String | |||
| | |||
|- | |||
|uploaderName | |||
|String | |||
| | |||
|- | |||
|url | |||
|String | |||
| | |||
|- | |||
|version | |||
|int | |||
| | |||
|} | |||
==Api Model Source== | |||
API Model description of Source | |||
{|class=wikitable | |||
!Name | |||
!Type | |||
!Description | |||
|- | |||
|date | |||
|long | |||
| | |||
|- | |||
|description | |||
|String | |||
| | |||
|- | |||
|id | |||
|int | |||
| | |||
|- | |||
|infoUrl | |||
|String | |||
| | |||
|- | |||
|name | |||
|String | |||
| | |||
|- | |||
|uploaderName | |||
|String | |||
| | |||
|- | |||
|version | |||
|int | |||
| | |||
|} | |||
==Api Model TColor== | |||
API Model description of TColor | |||
{|class=wikitable | |||
!Name | |||
!Type | |||
!Description | |||
|} | |||
==Api Model UserSource== | |||
API Model description of UserSource | |||
{|class=wikitable | |||
!Name | |||
!Type | |||
!Description | |||
|- | |||
|date | |||
|long | |||
| | |||
|- | |||
|description | |||
|String | |||
| | |||
|- | |||
|id | |||
|int | |||
| | |||
|- | |||
|infoUrl | |||
|String | |||
| | |||
|- | |||
|name | |||
|String | |||
| | |||
|- | |||
|uploaderName | |||
|String | |||
| | |||
|- | |||
|version | |||
|int | |||
| | |||
|} | |||
==Api Model WebSource== | |||
API Model description of WebSource | |||
{|class=wikitable | |||
!Name | |||
!Type | |||
!Description | |||
|- | |||
|date | |||
|long | |||
| | |||
|- | |||
|description | |||
|String | |||
| | |||
|- | |||
|id | |||
|int | |||
| | |||
|- | |||
|infoUrl | |||
|String | |||
| | |||
|- | |||
|name | |||
|String | |||
| | |||
|- | |||
|uploaderName | |||
|String | |||
| | |||
|- | |||
|url | |||
|String | |||
| | |||
|- | |||
|version | |||
|int | |||
| | |||
|} | |||
{{article end|seealso=*[[Api Content Items]] | |||
*[[Api session event editor source]] | |||
}} | |||
[[Category:API]] | [[Category:API]] | ||
[[Category:Items]] | |||
Latest revision as of 12:14, 29 May 2026
Api session items Source Endpoint: /api/session/items/sources/
Edit items with events described at Api session event editor source.
Default Query:
https://engine.tygron.com/api/session/items/sources/?f=JSON&token=API_TOKENExample Response:
[ {
"color" : {
"argb" : -3127648
},
"date" : 1506084493777,
"description" : "Data consisting of buildings and a partial selection of Dutch BAG data of these buildings and the residential units in them. The locations are also included, along with a subset of BAG data.",
"format" : "WFS_JSON",
"id" : 0,
"infoUrl" : "https://www.pdok.nl/introductie/-/article/basisregistratie-adressen-en-gebouwen-ba-1",
"name" : "BAG",
"uploaderName" : "Kadaster",
"url" : "https://service.pdok.nl/lv/bag/wfs/v2_0",
"version" : 2
}, {
"color" : {
"argb" : -2963406
},
"date" : 1506084493777,
"description" : "Crop plots consist of the location of agricultural plots along with the crop currently grown on them. The file is a selection of information from the Base Registration of Plots (BRP) of the Netherlands Enterprise Agency.",
"format" : "WFS_JSON",
"id" : 1,
"infoUrl" : "https://www.pdok.nl/introductie/-/article/basisregistratie-gewaspercelen-brp-",
"name" : "BRP",
"uploaderName" : "Rijksdienst voor Ondernemend Nederland",
"url" : "https://service.pdok.nl/rvo/brpgewaspercelen/wfs/v1_0",
"version" : 1
} ]Limit Queries
version=100:
https://engine.tygron.com/api/session/items/sources/?version=100&token=API_TOKENShow Queries
max version:
https://engine.tygron.com/api/session/items/sources/version/?token=API_TOKENsize:
https://engine.tygron.com/api/session/items/sources/size/?token=API_TOKENFormats
HTML:
https://engine.tygron.com/api/session/items/sources/?f=HTML&token=API_TOKENJSON:
https://engine.tygron.com/api/session/items/sources/?f=JSON&token=API_TOKENCSV:
https://engine.tygron.com/api/session/items/sources/?f=CSV&token=API_TOKENSSV:
https://engine.tygron.com/api/session/items/sources/?f=SSV&token=API_TOKENSMILE:
https://engine.tygron.com/api/session/items/sources/?f=SMILE&token=API_TOKENZIPJSON:
https://engine.tygron.com/api/session/items/sources/?f=ZIPJSON&token=API_TOKENZIPSMILE:
https://engine.tygron.com/api/session/items/sources/?f=ZIPSMILE&token=API_TOKENApi Model CatalogSource
API Model description of CatalogSource
| Name | Type | Description |
|---|---|---|
| date | long | |
| description | String | |
| id | int | |
| infoUrl | String | |
| name | String | |
| type | GeoCatalog | |
| uploaderName | String | |
| url | String | |
| version | int |
Api Model DefaultSource
API Model description of DefaultSource
| Name | Type | Description |
|---|---|---|
| color | TColor | |
| date | long | |
| description | String | |
| id | int | |
| infoUrl | String | |
| name | String | |
| uploaderName | String | |
| version | int |
Api Model FileSource
API Model description of FileSource
| Name | Type | Description |
|---|---|---|
| date | long | |
| description | String | |
| id | int | |
| infoUrl | String | |
| name | String | |
| uploaderName | String | |
| version | int |
Api Model GeoCatalog
API Enumeration description of GeoCatalog
| Name | Description |
|---|---|
| CSW | |
| ESRI |
Api Model GeoFormat
API Enumeration description of GeoFormat
| Name | Description |
|---|---|
| GEOJSON | |
| GEOPACKAGE | |
| WFS_JSON | |
| WFS_GML | |
| WMS_IMAGE | |
| WCS_TIFF | |
| OSM | |
| BGT_GML | |
| ESRI_JSON | |
| ESRI_IMAGE | |
| CYCLO_IMAGE | |
| I3S | |
| GEOTIFF | |
| DXF |
Api Model ServiceSource
API Model description of ServiceSource
| Name | Type | Description |
|---|---|---|
| color | TColor | |
| date | long | |
| description | String | |
| format | GeoFormat | |
| id | int | |
| infoUrl | String | |
| name | String | |
| uploaderName | String | |
| url | String | |
| version | int |
Api Model Source
API Model description of Source
| Name | Type | Description |
|---|---|---|
| date | long | |
| description | String | |
| id | int | |
| infoUrl | String | |
| name | String | |
| uploaderName | String | |
| version | int |
Api Model TColor
API Model description of TColor
| Name | Type | Description |
|---|
Api Model UserSource
API Model description of UserSource
| Name | Type | Description |
|---|---|---|
| date | long | |
| description | String | |
| id | int | |
| infoUrl | String | |
| name | String | |
| uploaderName | String | |
| version | int |
Api Model WebSource
API Model description of WebSource
| Name | Type | Description |
|---|---|---|
| date | long | |
| description | String | |
| id | int | |
| infoUrl | String | |
| name | String | |
| uploaderName | String | |
| url | String | |
| version | int |