Api session items functionoverrides: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 15: | Line 15: | ||
"maquetteOverride" : null, | "maquetteOverride" : null, | ||
"name" : "", | "name" : "", | ||
"version" : | "version" : 1 | ||
}, { | }, { | ||
"attributes" : null, | "attributes" : null, | ||
| Line 25: | Line 25: | ||
"maquetteOverride" : null, | "maquetteOverride" : null, | ||
"name" : "", | "name" : "", | ||
"version" : | "version" : 2 | ||
} ]</syntaxhighlight> | } ]</syntaxhighlight> | ||
==Limit Queries== | ==Limit Queries== | ||
| Line 57: | Line 57: | ||
!Description | !Description | ||
|- | |- | ||
|SOCIAL | | SOCIAL | ||
| | | | ||
|- | |- | ||
|NORMAL | | NORMAL | ||
| | | | ||
|- | |- | ||
|LUXE | | LUXE | ||
| | | | ||
|- | |- | ||
|ROAD | | ROAD | ||
| | | | ||
|- | |- | ||
|PAVED_AREA | | PAVED_AREA | ||
| | | | ||
|- | |- | ||
|EDUCATION | | EDUCATION | ||
| | | | ||
|- | |- | ||
|HEALTHCARE | | HEALTHCARE | ||
| | | | ||
|- | |- | ||
|PARK | | PARK | ||
| | | | ||
|- | |- | ||
|NATURE | | NATURE | ||
| | | | ||
|- | |- | ||
|INDUSTRY | | INDUSTRY | ||
| | | | ||
|- | |- | ||
|OFFICES | | OFFICES | ||
| | | | ||
|- | |- | ||
|OTHER | | OTHER | ||
| | | | ||
|- | |- | ||
|SENIOR | | SENIOR | ||
| | | | ||
|- | |- | ||
|UNDERGROUND | | UNDERGROUND | ||
| | | | ||
|- | |- | ||
|SHOPPING | | SHOPPING | ||
| | | | ||
|- | |- | ||
|AGRICULTURE | | AGRICULTURE | ||
| | | | ||
|- | |- | ||
|LEISURE | | LEISURE | ||
| | | | ||
|- | |- | ||
|STUDENT | | STUDENT | ||
| | | | ||
|- | |- | ||
|GARDEN | | GARDEN | ||
| | | | ||
|- | |- | ||
|INTERSECTION | | INTERSECTION | ||
| | | | ||
|- | |- | ||
|BRIDGE | | BRIDGE | ||
| | | | ||
|} | |} | ||
| Line 129: | Line 129: | ||
!Description | !Description | ||
|- | |- | ||
|attributes | | attributes | ||
|Map<String,double[]> | | Map<String,double[]> | ||
| | | | ||
|- | |- | ||
|categories | | categories | ||
|Category<nowiki>[]</nowiki> | | Category<nowiki>[]</nowiki> | ||
| | | | ||
|- | |- | ||
|description | | description | ||
|String | | String | ||
| | | | ||
|- | |- | ||
|id | | id | ||
|int | | int | ||
| | | | ||
|- | |- | ||
|imageName | | imageName | ||
|String | | String | ||
| | | | ||
|- | |- | ||
|imageVersion | | imageVersion | ||
|int | | int | ||
| | | | ||
|- | |- | ||
|maquetteOverride | | maquetteOverride | ||
|Map<String,double[]> | | Map<String,double[]> | ||
| | | | ||
|- | |- | ||
|name | | name | ||
|String | | String | ||
| | | | ||
|- | |- | ||
|version | | version | ||
|int | | int | ||
| | | | ||
|} | |} | ||
Revision as of 11:44, 8 June 2026
API Endpoint: /api/session/items/functionoverrides/
Edit items with events described at Api session event editor functionoverride.
Default Query:
https://engine.tygron.com/api/session/items/functionoverrides/?f=JSON&token=API_TOKENExample Response:
[ {
"attributes" : null,
"categories" : [ ],
"description" : "",
"id" : 77,
"imageName" : "",
"imageVersion" : 0,
"maquetteOverride" : null,
"name" : "",
"version" : 1
}, {
"attributes" : null,
"categories" : [ ],
"description" : "",
"id" : 101,
"imageName" : "",
"imageVersion" : 0,
"maquetteOverride" : null,
"name" : "",
"version" : 2
} ]Limit Queries
version=100:
https://engine.tygron.com/api/session/items/functionoverrides/?version=100&token=API_TOKENShow Queries
max version:
https://engine.tygron.com/api/session/items/functionoverrides/version/?token=API_TOKENsize:
https://engine.tygron.com/api/session/items/functionoverrides/size/?token=API_TOKENFormats
HTML:
https://engine.tygron.com/api/session/items/functionoverrides/?f=HTML&token=API_TOKENJSON:
https://engine.tygron.com/api/session/items/functionoverrides/?f=JSON&token=API_TOKENCSV:
https://engine.tygron.com/api/session/items/functionoverrides/?f=CSV&token=API_TOKENSSV:
https://engine.tygron.com/api/session/items/functionoverrides/?f=SSV&token=API_TOKENSMILE:
https://engine.tygron.com/api/session/items/functionoverrides/?f=SMILE&token=API_TOKENZIPJSON:
https://engine.tygron.com/api/session/items/functionoverrides/?f=ZIPJSON&token=API_TOKENZIPSMILE:
https://engine.tygron.com/api/session/items/functionoverrides/?f=ZIPSMILE&token=API_TOKENApi Model Category
API Enumeration description of Category
| Name | Description |
|---|---|
| SOCIAL | |
| NORMAL | |
| LUXE | |
| ROAD | |
| PAVED_AREA | |
| EDUCATION | |
| HEALTHCARE | |
| PARK | |
| NATURE | |
| INDUSTRY | |
| OFFICES | |
| OTHER | |
| SENIOR | |
| UNDERGROUND | |
| SHOPPING | |
| AGRICULTURE | |
| LEISURE | |
| STUDENT | |
| GARDEN | |
| INTERSECTION | |
| BRIDGE |
Api Model FunctionOverride
API Model description of FunctionOverride
| Name | Type | Description |
|---|---|---|
| attributes | Map<String,double[]> | |
| categories | Category[] | |
| description | String | |
| id | int | |
| imageName | String | |
| imageVersion | int | |
| maquetteOverride | Map<String,double[]> | |
| name | String | |
| version | int |