Api session items geoplugins: 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 geoplugin|editorgeoplugin]].
Manipulate items with event: [[Api session event editor geoplugin|editorgeoplugin]].


Default Query:
<pre>https://engine.tygron.com/api/session/items/geoplugins/?f=JSON&token=API_TOKEN</pre>
Example Response:
<pre>[ {
  "crs" : "urn:ogc:def:crs:EPSG::28992",
  "forceXY" : true,
  "geoLinkIDs" : [ 2264, 2265, 2266, 2267 ],
  "id" : 0,
  "idAttribute" : "nr",
  "layerName" : "natura2000:natura2000",
  "linkType" : "AREA",
  "name" : "Natura2000",
  "nameAttribute" : "naam_n2k",
  "newProject" : false,
  "sourceID" : 103,
  "version" : 1
}, {
  "crs" : "",
  "forceXY" : true,
  "geoLinkIDs" : [ 1000259, 1000260 ],
  "id" : 1000000,
  "idAttribute" : "",
  "layerName" : "",
  "linkType" : "BUILDING",
  "name" : "Building Geo Plugin",
  "nameAttribute" : "",
  "newProject" : true,
  "sourceID" : -1,
  "version" : 2
} ]</pre>
==Limit Queries==
==Limit Queries==
version=100:  
version=100:  

Latest revision as of 14:30, 1 April 2026

Api session items Geo Plugins Endpoints.

Manipulate items with event: editorgeoplugin.

Default Query:

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

Example Response:

[ {
  "crs" : "urn:ogc:def:crs:EPSG::28992",
  "forceXY" : true,
  "geoLinkIDs" : [ 2264, 2265, 2266, 2267 ],
  "id" : 0,
  "idAttribute" : "nr",
  "layerName" : "natura2000:natura2000",
  "linkType" : "AREA",
  "name" : "Natura2000",
  "nameAttribute" : "naam_n2k",
  "newProject" : false,
  "sourceID" : 103,
  "version" : 1
}, {
  "crs" : "",
  "forceXY" : true,
  "geoLinkIDs" : [ 1000259, 1000260 ],
  "id" : 1000000,
  "idAttribute" : "",
  "layerName" : "",
  "linkType" : "BUILDING",
  "name" : "Building Geo Plugin",
  "nameAttribute" : "",
  "newProject" : true,
  "sourceID" : -1,
  "version" : 2
} ]

Limit Queries

version=100:

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

Show Queries

max version:

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

size:

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

Formats

HTML:

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

JSON:

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

CSV:

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

SSV:

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

SMILE:

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

ZIPJSON:

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

ZIPSMILE:

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