Api session items functionoverrides: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (26 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
API Endpoint: /api/session/items/functionoverrides/ | |||
Edit items with | Edit items with events described at [[Api session event editor functionoverride]]. | ||
Default Query: | Default Query: | ||
| Line 30: | Line 30: | ||
version=100: | version=100: | ||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/functionoverrides/?version=100&token=API_TOKEN</syntaxhighlight> | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/functionoverrides/?version=100&token=API_TOKEN</syntaxhighlight> | ||
== | ==Get Queries== | ||
attributes: | |||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/functionoverrides/attributes/?token=API_TOKEN</syntaxhighlight> | |||
max version: | max version: | ||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/functionoverrides/version/?token=API_TOKEN</syntaxhighlight> | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/functionoverrides/version/?token=API_TOKEN</syntaxhighlight> | ||
count: | |||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/functionoverrides/ | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/functionoverrides/count/?token=API_TOKEN</syntaxhighlight> | ||
==Formats== | ==Formats== | ||
HTML: | HTML: | ||
| Line 50: | Line 52: | ||
ZIPSMILE: | ZIPSMILE: | ||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/functionoverrides/?f=ZIPSMILE&token=API_TOKEN</syntaxhighlight> | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/functionoverrides/?f=ZIPSMILE&token=API_TOKEN</syntaxhighlight> | ||
==Api Model Category== | |||
API Enumeration description of Category | |||
{|class=wikitable | |||
!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 | |||
{|class=wikitable | |||
!Name | |||
!Type | |||
!Description | |||
|- | |||
| attributes | |||
| Map<String,double[]> | |||
| | |||
|- | |||
| categories | |||
| Category<nowiki>[]</nowiki> | |||
| [[Category]]<nowiki>[]</nowiki> | |||
|- | |||
| description | |||
| String | |||
| | |||
|- | |||
| id | |||
| int | |||
| | |||
|- | |||
| imageName | |||
| String | |||
| | |||
|- | |||
| imageVersion | |||
| int | |||
| | |||
|- | |||
| maquetteOverride | |||
| Map<String,double[]> | |||
| | |||
|- | |||
| name | |||
| String | |||
| | |||
|- | |||
| version | |||
| int | |||
| | |||
|} | |||
{{article end|seealso=*[[Api Content Items]] | {{article end|seealso=*[[Api Content Items]] | ||
*[[Api session event editor functionoverride]] | *[[Api session event editor functionoverride]] | ||
| Line 55: | Line 173: | ||
[[Category:API]] | [[Category:API]] | ||
[[Category:Items]] | |||
Latest revision as of 07:14, 7 July 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_TOKENGet Queries
attributes:
https://engine.tygron.com/api/session/items/functionoverrides/attributes/?token=API_TOKENmax version:
https://engine.tygron.com/api/session/items/functionoverrides/version/?token=API_TOKENcount:
https://engine.tygron.com/api/session/items/functionoverrides/count/?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[] | Category[] |
| description | String | |
| id | int | |
| imageName | String | |
| imageVersion | int | |
| maquetteOverride | Map<String,double[]> | |
| name | String | |
| version | int |