Api session items sources: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
No edit summary
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" : 7
   "version" : 24
} ]</syntaxhighlight>
} ]</syntaxhighlight>
==Limit Queries==
==Limit Queries==
Line 56: Line 56:
ZIPSMILE:  
ZIPSMILE:  
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/sources/?f=ZIPSMILE&token=API_TOKEN</syntaxhighlight>
<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 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 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 source]]
*[[Api session event editor source]]

Revision as of 11:53, 20 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" : 24
} ]

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