Api session items geoplugins: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
Created page with "api session items Geo Plugins Endpoints. Manipulate items with event: editorgeoplugin. ==Limit Queries==version=100: <pre>https://engine.tygron.com/api/session/items/geoplugins/?version=100&token=API_TOKEN</pre> ==Limit Queries==max version: <pre>https://engine.tygron.com/api/session/items/geoplugins/version/?token=API_TOKEN</pre> size: <pre>https://engine.tygron.com/api/session/items/geoplugins/size/?token=API_TOKEN</pre> ==Limit Queries==HTML: <pre>https://..."
 
No edit summary
 
(29 intermediate revisions by the same user not shown)
Line 1: Line 1:
api session items [[Geo Plugin]]s Endpoints.
API Endpoint: /api/session/items/geoplugins/
Manipulate items with event: [[editorgeoplugin]].
 
==Limit Queries==version=100:  
Edit items with events described at [[Api session event editor geoplugin]].
<pre>https://engine.tygron.com/api/session/items/geoplugins/?version=100&token=API_TOKEN</pre>
 
==Limit Queries==max version:  
Default Query:
<pre>https://engine.tygron.com/api/session/items/geoplugins/version/?token=API_TOKEN</pre>
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/geoplugins/?f=JSON&token=API_TOKEN</syntaxhighlight>
size:  
Example Response:
<pre>https://engine.tygron.com/api/session/items/geoplugins/size/?token=API_TOKEN</pre>
<syntaxhighlight lang="text" copy>[ {
==Limit Queries==HTML:  
  "crs" : "urn:ogc:def:crs:EPSG::28992",
<pre>https://engine.tygron.com/api/session/items/geoplugins/?f=HTML&token=API_TOKEN</pre>
  "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
} ]</syntaxhighlight>
==Limit Queries==
version=100:  
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/geoplugins/?version=100&token=API_TOKEN</syntaxhighlight>
==Get Queries==
attributes:
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/geoplugins/attributes/?token=API_TOKEN</syntaxhighlight>
max version:  
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/geoplugins/version/?token=API_TOKEN</syntaxhighlight>
count:  
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/geoplugins/count/?token=API_TOKEN</syntaxhighlight>
==Formats==
HTML:  
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/geoplugins/?f=HTML&token=API_TOKEN</syntaxhighlight>
JSON:  
JSON:  
<pre>https://engine.tygron.com/api/session/items/geoplugins/?f=JSON&token=API_TOKEN</pre>
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/geoplugins/?f=JSON&token=API_TOKEN</syntaxhighlight>
CSV:  
CSV:  
<pre>https://engine.tygron.com/api/session/items/geoplugins/?f=CSV&token=API_TOKEN</pre>
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/geoplugins/?f=CSV&token=API_TOKEN</syntaxhighlight>
SSV:  
SSV:  
<pre>https://engine.tygron.com/api/session/items/geoplugins/?f=SSV&token=API_TOKEN</pre>
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/geoplugins/?f=SSV&token=API_TOKEN</syntaxhighlight>
SMILE:  
SMILE:  
<pre>https://engine.tygron.com/api/session/items/geoplugins/?f=SMILE&token=API_TOKEN</pre>
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/geoplugins/?f=SMILE&token=API_TOKEN</syntaxhighlight>
ZIPJSON:  
ZIPJSON:  
<pre>https://engine.tygron.com/api/session/items/geoplugins/?f=ZIPJSON&token=API_TOKEN</pre>
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/geoplugins/?f=ZIPJSON&token=API_TOKEN</syntaxhighlight>
ZIPSMILE:  
ZIPSMILE:  
<pre>https://engine.tygron.com/api/session/items/geoplugins/?f=ZIPSMILE&token=API_TOKEN</pre>
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/geoplugins/?f=ZIPSMILE&token=API_TOKEN</syntaxhighlight>
{{article end|seealso=*[[Api Content Items]]}}
==Api Model AbstractGeoPlugin==
API Model description of AbstractGeoPlugin
 
{|class=wikitable
!Name
!Type
!Description
|-
| crs
| String
|
|-
| forceXY
| boolean
|
|-
| id
| int
|
|-
| linkType
| GeoLinkType
| [[Geo Link]]Type
|-
| name
| String
|
|-
| newProject
| boolean
|
|-
| version
| int
|
|}
 
==Api Model GeoLinkType==
API Enumeration description of GeoLinkType
 
{|class=wikitable
!Name
!Description
|-
| AREA
|
|-
| BUILDING
|
|-
| ROAD
|
|-
| TERRAIN_HEIGHT
|
|-
| WATER_BOTTOM
|
|-
| STREET_OBJECT
|
|}
 
==Api Model GeoPlugin==
API Model description of GeoPlugin
 
{|class=wikitable
!Name
!Type
!Description
|-
| crs
| String
|
|-
| forceXY
| boolean
|
|-
| geoLinkIDs
| int<nowiki>[]</nowiki>
| [[Geo Link]]s ID
|-
| id
| int
|
|-
| idAttribute
| String
|
|-
| layerName
| String
|
|-
| linkType
| GeoLinkType
| [[Geo Link]]Type
|-
| name
| String
|
|-
| nameAttribute
| String
|
|-
| newProject
| boolean
|
|-
| sourceID
| int
| [[Source]] ID
|-
| version
| int
|
|}
 
==Api Model HeightPlugin==
API Model description of HeightPlugin
 
{|class=wikitable
!Name
!Type
!Description
|-
| crs
| String
|
|-
| forceXY
| boolean
|
|-
| id
| int
|
|-
| linkType
| GeoLinkType
| [[Geo Link]]Type
|-
| name
| String
|
|-
| newProject
| boolean
|
|-
| sourceIDs
| int<nowiki>[]</nowiki>
| [[Source]]s ID
|-
| version
| int
|
|}
 
{{article end|seealso=*[[Api Content Items]]
*[[Api session event editor geoplugin]]
}}


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

Latest revision as of 07:14, 7 July 2026

API Endpoint: /api/session/items/geoplugins/

Edit items with events described at Api session event editor geoplugin.

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

Get Queries

attributes:

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

max version:

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

count:

https://engine.tygron.com/api/session/items/geoplugins/count/?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

Api Model AbstractGeoPlugin

API Model description of AbstractGeoPlugin

Name Type Description
crs String
forceXY boolean
id int
linkType GeoLinkType Geo LinkType
name String
newProject boolean
version int

Api Model GeoLinkType

API Enumeration description of GeoLinkType

Name Description
AREA
BUILDING
ROAD
TERRAIN_HEIGHT
WATER_BOTTOM
STREET_OBJECT

Api Model GeoPlugin

API Model description of GeoPlugin

Name Type Description
crs String
forceXY boolean
geoLinkIDs int[] Geo Links ID
id int
idAttribute String
layerName String
linkType GeoLinkType Geo LinkType
name String
nameAttribute String
newProject boolean
sourceID int Source ID
version int

Api Model HeightPlugin

API Model description of HeightPlugin

Name Type Description
crs String
forceXY boolean
id int
linkType GeoLinkType Geo LinkType
name String
newProject boolean
sourceIDs int[] Sources ID
version int