Api session items parametricdesigns: Difference between revisions
Jump to navigation
Jump to search
Replaced content with "Api session items Parametric Designs Endpoints. Edit items with event: editorparametric. Default Query: <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/parametricdesigns/?f=JSON&token=API_TOKEN</syntaxhighlight> Example Response: <syntaxhighlight lang="text" copy>[ ]</syntaxhighlight> ==Limit Queries== version=100: <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items..." Tag: Replaced |
No edit summary |
||
| (22 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
API Endpoint: /api/session/items/parametricdesigns/ | |||
Edit items with | Edit items with events described at [[Api session event editor parametric]]. | ||
Default Query: | Default Query: | ||
| Line 10: | Line 10: | ||
version=100: | version=100: | ||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/parametricdesigns/?version=100&token=API_TOKEN</syntaxhighlight> | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/parametricdesigns/?version=100&token=API_TOKEN</syntaxhighlight> | ||
== | ==Get Queries== | ||
attributes: | |||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/parametricdesigns/attributes/?token=API_TOKEN</syntaxhighlight> | |||
max version: | max version: | ||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/parametricdesigns/version/?token=API_TOKEN</syntaxhighlight> | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/parametricdesigns/version/?token=API_TOKEN</syntaxhighlight> | ||
count: | |||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/parametricdesigns/ | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/parametricdesigns/count/?token=API_TOKEN</syntaxhighlight> | ||
==Formats== | ==Formats== | ||
HTML: | HTML: | ||
| Line 37: | Line 39: | ||
!Description | !Description | ||
|- | |- | ||
|ROAD | | ROAD | ||
| | | | ||
|- | |- | ||
|SPACED | | SPACED | ||
| | | | ||
|} | |} | ||
==Api Model | ==Api Model GeometryCollection== | ||
API | API Model description of GeometryCollection | ||
{|class=wikitable | {|class=wikitable | ||
!Name | !Name | ||
!Type | |||
!Description | !Description | ||
|} | |} | ||
==Api Model | ==Api Model MultiPolygon== | ||
API | API Model description of MultiPolygon | ||
{|class=wikitable | {|class=wikitable | ||
!Name | !Name | ||
!Type | |||
!Description | !Description | ||
|- | |- | ||
| | | type | ||
| | | String | ||
| | | [[MultiPolygon]] | ||
|- | |- | ||
| | | coordinates | ||
| | | double[][][][] | ||
| | | array of [[Polygon]]s; [[Polygon]] is array of outer and optional inner rings; rings is array of coordinates; coordinates is array of [x,y,(optional) z] | ||
|} | |} | ||
==Api Model | ==Api Model ParametricDesign== | ||
API | API Model description of ParametricDesign | ||
{|class=wikitable | {|class=wikitable | ||
!Name | !Name | ||
!Type | |||
!Description | !Description | ||
|- | |- | ||
| | | alignment | ||
| | | Alignment | ||
| | |||
|- | |||
| attributes | |||
| Map<String,double[]> | |||
| | |||
|- | |||
| center | |||
| Point | |||
| [[Point]] | |||
|- | |||
| gardenID | |||
| int | |||
| [[Function]] ID | |||
|- | |||
| id | |||
| int | |||
| | |||
|- | |||
| maquetteOverride | |||
| Map<String,double[]> | |||
| | |||
|- | |||
| name | |||
| String | |||
| | |||
|- | |||
| parkingID | |||
| int | |||
| [[Function]] ID | |||
|- | |||
| plotDesigns | |||
| PlotDesign<nowiki>[]</nowiki> | |||
| [[Plot]]Design<nowiki>[]</nowiki> | |||
|- | |- | ||
| | | polygons | ||
| | | MultiPolygon | ||
| [[MultiPolygon]] | |||
|- | |- | ||
| | | publicGreenID | ||
| | | int | ||
| [[Function]] ID | |||
|- | |- | ||
| | | roadID | ||
| | | int | ||
| [[Function]] ID | |||
|- | |- | ||
| | | sidewalkID | ||
| | | int | ||
| [[Function]] ID | |||
|- | |- | ||
| | | sourceIDs | ||
| | | int<nowiki>[]</nowiki> | ||
| [[Source]]s ID | |||
|- | |- | ||
| | | version | ||
| | | int | ||
| | |||
|- | |- | ||
| | | waterID | ||
| | | int | ||
| [[Terrain Type]] ID | |||
|} | |} | ||
==Api Model | ==Api Model PlotDesign== | ||
API Model description of | API Model description of PlotDesign | ||
{|class=wikitable | {|class=wikitable | ||
| Line 160: | Line 153: | ||
!Description | !Description | ||
|- | |- | ||
| | | attributes | ||
|Map< | | Map<String,double[]> | ||
| | | | ||
|- | |- | ||
| | | functionID | ||
| | | int | ||
| | | [[Function]] ID | ||
|- | |- | ||
| | | id | ||
| | | int | ||
| | | | ||
|- | |||
| multiPolygon | |||
| MultiPolygon | |||
| [[MultiPolygon]] | |||
|} | |} | ||
==Api Model | ==Api Model Point== | ||
API Model description of | API Model description of Point | ||
{|class=wikitable | {|class=wikitable | ||
| Line 181: | Line 178: | ||
!Description | !Description | ||
|- | |- | ||
| | | type | ||
| | | String | ||
| [[Point]] | |||
|[[ | |||
|- | |- | ||
| | | coordinates | ||
| | | double[] | ||
| | | x, y, (optional) z | ||
|} | |} | ||
| Line 251: | Line 192: | ||
[[Category:API]] | [[Category:API]] | ||
[[Category:Items]] | |||
Latest revision as of 07:14, 7 July 2026
API Endpoint: /api/session/items/parametricdesigns/
Edit items with events described at Api session event editor parametric.
Default Query:
https://engine.tygron.com/api/session/items/parametricdesigns/?f=JSON&token=API_TOKENExample Response:
[ ]Limit Queries
version=100:
https://engine.tygron.com/api/session/items/parametricdesigns/?version=100&token=API_TOKENGet Queries
attributes:
https://engine.tygron.com/api/session/items/parametricdesigns/attributes/?token=API_TOKENmax version:
https://engine.tygron.com/api/session/items/parametricdesigns/version/?token=API_TOKENcount:
https://engine.tygron.com/api/session/items/parametricdesigns/count/?token=API_TOKENFormats
HTML:
https://engine.tygron.com/api/session/items/parametricdesigns/?f=HTML&token=API_TOKENJSON:
https://engine.tygron.com/api/session/items/parametricdesigns/?f=JSON&token=API_TOKENCSV:
https://engine.tygron.com/api/session/items/parametricdesigns/?f=CSV&token=API_TOKENSSV:
https://engine.tygron.com/api/session/items/parametricdesigns/?f=SSV&token=API_TOKENSMILE:
https://engine.tygron.com/api/session/items/parametricdesigns/?f=SMILE&token=API_TOKENZIPJSON:
https://engine.tygron.com/api/session/items/parametricdesigns/?f=ZIPJSON&token=API_TOKENZIPSMILE:
https://engine.tygron.com/api/session/items/parametricdesigns/?f=ZIPSMILE&token=API_TOKENApi Model Alignment
API Enumeration description of Alignment
| Name | Description |
|---|---|
| ROAD | |
| SPACED |
Api Model GeometryCollection
API Model description of GeometryCollection
| Name | Type | Description |
|---|
Api Model MultiPolygon
API Model description of MultiPolygon
| Name | Type | Description |
|---|---|---|
| type | String | MultiPolygon |
| coordinates | double[][][][] | array of Polygons; Polygon is array of outer and optional inner rings; rings is array of coordinates; coordinates is array of [x,y,(optional) z] |
Api Model ParametricDesign
API Model description of ParametricDesign
| Name | Type | Description |
|---|---|---|
| alignment | Alignment | |
| attributes | Map<String,double[]> | |
| center | Point | Point |
| gardenID | int | Function ID |
| id | int | |
| maquetteOverride | Map<String,double[]> | |
| name | String | |
| parkingID | int | Function ID |
| plotDesigns | PlotDesign[] | PlotDesign[] |
| polygons | MultiPolygon | MultiPolygon |
| publicGreenID | int | Function ID |
| roadID | int | Function ID |
| sidewalkID | int | Function ID |
| sourceIDs | int[] | Sources ID |
| version | int | |
| waterID | int | Terrain Type ID |
Api Model PlotDesign
API Model description of PlotDesign
| Name | Type | Description |
|---|---|---|
| attributes | Map<String,double[]> | |
| functionID | int | Function ID |
| id | int | |
| multiPolygon | MultiPolygon | MultiPolygon |
Api Model Point
API Model description of Point
| Name | Type | Description |
|---|---|---|
| type | String | Point |
| coordinates | double[] | x, y, (optional) z |