Api session items sources: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 3: Line 3:
Manipulate items with event: [[Api session event editor source|editorsource]].
Manipulate items with event: [[Api session event editor source|editorsource]].


Default Query:
<pre>https://engine.tygron.com/api/session/items/sources/?f=JSON&token=API_TOKEN</pre>
Example Response:
<pre>[ {
  "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" : 1
}, {
  "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" : 2
} ]</pre>
==Limit Queries==
==Limit Queries==
version=100:  
version=100:  

Latest revision as of 14:30, 1 April 2026

Api session items Source Endpoints.

Manipulate 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" : 1
}, {
  "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" : 2
} ]

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