Api session items sources: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
Api session items [[Source]] Endpoints.
Api session items [[Source]] Endpoints.


Manipulate items with event: [[Api session event editor |Api session event editor ]].
Edit items with event: [[Api session event editor source|editorsource]].


Default Query:
Default Query:
Line 18: Line 18:
   "uploaderName" : "Kadaster",
   "uploaderName" : "Kadaster",
   "url" : "https://service.pdok.nl/lv/bag/wfs/v2_0",
   "url" : "https://service.pdok.nl/lv/bag/wfs/v2_0",
   "version" : 6
   "version" : 9
}, {
}, {
   "color" : {
   "color" : {
Line 31: Line 31:
   "uploaderName" : "Rijksdienst voor Ondernemend Nederland",
   "uploaderName" : "Rijksdienst voor Ondernemend Nederland",
   "url" : "https://service.pdok.nl/rvo/brpgewaspercelen/wfs/v1_0",
   "url" : "https://service.pdok.nl/rvo/brpgewaspercelen/wfs/v1_0",
   "version" : 1
   "version" : 27
} ]</syntaxhighlight>
} ]</syntaxhighlight>
==Limit Queries==
==Limit Queries==
version=100:  
version=100:  
<pre>https://engine.tygron.com/api/session/items/sources/?version=100&token=API_TOKEN</pre>
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/sources/?version=100&token=API_TOKEN</syntaxhighlight>
==Show Queries==
==Show Queries==
max version:  
max version:  
<pre>https://engine.tygron.com/api/session/items/sources/version/?token=API_TOKEN</pre>
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/sources/version/?token=API_TOKEN</syntaxhighlight>
size:  
size:  
<pre>https://engine.tygron.com/api/session/items/sources/size/?token=API_TOKEN</pre>
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/sources/size/?token=API_TOKEN</syntaxhighlight>
==Formats==
==Formats==
HTML:  
HTML:  
<pre>https://engine.tygron.com/api/session/items/sources/?f=HTML&token=API_TOKEN</pre>
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/sources/?f=HTML&token=API_TOKEN</syntaxhighlight>
JSON:  
JSON:  
<pre>https://engine.tygron.com/api/session/items/sources/?f=JSON&token=API_TOKEN</pre>
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/sources/?f=JSON&token=API_TOKEN</syntaxhighlight>
CSV:  
CSV:  
<pre>https://engine.tygron.com/api/session/items/sources/?f=CSV&token=API_TOKEN</pre>
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/sources/?f=CSV&token=API_TOKEN</syntaxhighlight>
SSV:  
SSV:  
<pre>https://engine.tygron.com/api/session/items/sources/?f=SSV&token=API_TOKEN</pre>
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/sources/?f=SSV&token=API_TOKEN</syntaxhighlight>
SMILE:  
SMILE:  
<pre>https://engine.tygron.com/api/session/items/sources/?f=SMILE&token=API_TOKEN</pre>
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/sources/?f=SMILE&token=API_TOKEN</syntaxhighlight>
ZIPJSON:  
ZIPJSON:  
<pre>https://engine.tygron.com/api/session/items/sources/?f=ZIPJSON&token=API_TOKEN</pre>
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/sources/?f=ZIPJSON&token=API_TOKEN</syntaxhighlight>
ZIPSMILE:  
ZIPSMILE:  
<pre>https://engine.tygron.com/api/session/items/sources/?f=ZIPSMILE&token=API_TOKEN</pre>
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/sources/?f=ZIPSMILE&token=API_TOKEN</syntaxhighlight>
==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]]
{{article end|seealso=*[[Api Content Items]]
*[[Api session event editor ]]
*[[Api session event editor source]]
}}
}}


[[Category:API]]
[[Category:API]]
[[Category:Items]]

Latest revision as of 14:14, 24 April 2026

Api session items Source Endpoints.

Edit items with event: editorsource.

Default Query:

https://engine.tygron.com/api/session/items/sources/?f=JSON&token=API_TOKEN

Example 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" : 9
}, {
  "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" : 27
} ]

Limit Queries

version=100:

https://engine.tygron.com/api/session/items/sources/?version=100&token=API_TOKEN

Show Queries

max version:

https://engine.tygron.com/api/session/items/sources/version/?token=API_TOKEN

size:

https://engine.tygron.com/api/session/items/sources/size/?token=API_TOKEN

Formats

HTML:

https://engine.tygron.com/api/session/items/sources/?f=HTML&token=API_TOKEN

JSON:

https://engine.tygron.com/api/session/items/sources/?f=JSON&token=API_TOKEN

CSV:

https://engine.tygron.com/api/session/items/sources/?f=CSV&token=API_TOKEN

SSV:

https://engine.tygron.com/api/session/items/sources/?f=SSV&token=API_TOKEN

SMILE:

https://engine.tygron.com/api/session/items/sources/?f=SMILE&token=API_TOKEN

ZIPJSON:

https://engine.tygron.com/api/session/items/sources/?f=ZIPJSON&token=API_TOKEN

ZIPSMILE:

https://engine.tygron.com/api/session/items/sources/?f=ZIPSMILE&token=API_TOKEN

Api 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