Api session items functionoverrides: Difference between revisions
Jump to navigation
Jump to search
Replaced content with "Api session items Function Overrides Endpoints. Edit items with event: editorfunctionoverride. Default Query: <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/functionoverrides/?f=JSON&token=API_TOKEN</syntaxhighlight> Example Response: <syntaxhighlight lang="text" copy>[ { "attributes" : null, "categories" : [ ], "description" : "", "id" : 77, "imageName" : "", "imageVersion..." Tag: Replaced |
No edit summary Tag: Manual revert |
||
| (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: | ||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/functionoverrides/? | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/functionoverrides/?token=API_TOKEN</syntaxhighlight> | ||
Example Response: | Example Response: | ||
<syntaxhighlight lang="text" copy>[ { | <syntaxhighlight lang="text" copy>[ { | ||
| Line 28: | Line 28: | ||
} ]</syntaxhighlight> | } ]</syntaxhighlight> | ||
==Limit Queries== | ==Limit Queries== | ||
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: | |||
<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> | ||
Specific Item by ID: | |||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/functionoverrides/{id}/?token=API_TOKEN</syntaxhighlight> | |||
==Formats== | ==Formats== | ||
HTML: | HTML: | ||
| Line 50: | Line 54: | ||
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 | ==Api Model Category== | ||
API Enumeration description of | API Enumeration description of Category | ||
{|class=wikitable | {|class=wikitable | ||
| Line 57: | Line 61: | ||
!Description | !Description | ||
|- | |- | ||
| | | SOCIAL | ||
| | | | ||
|- | |||
| NORMAL | |||
| | |||
|- | |||
| LUXE | |||
| | |||
|- | |||
| ROAD | |||
| | |||
|- | |||
| PAVED_AREA | |||
| | |||
|- | |||
| EDUCATION | |||
| | |||
|- | |||
| HEALTHCARE | |||
| | |||
|- | |||
| PARK | |||
| | |||
|- | |||
| NATURE | |||
| | |||
|- | |||
| INDUSTRY | |||
| | |||
|- | |||
| OFFICES | |||
| | |||
|- | |||
| OTHER | |||
| | |||
|- | |||
| SENIOR | |||
| | |||
|- | |- | ||
| | | UNDERGROUND | ||
| | | | ||
|- | |- | ||
| | | SHOPPING | ||
| | | | ||
|- | |- | ||
| | | AGRICULTURE | ||
| | | | ||
|- | |- | ||
| | | LEISURE | ||
| | | | ||
|- | |- | ||
| | | STUDENT | ||
| | | | ||
|- | |- | ||
| | | GARDEN | ||
| | | | ||
|- | |- | ||
| | | INTERSECTION | ||
| | | | ||
|- | |- | ||
| | | BRIDGE | ||
| | | | ||
|} | |} | ||
| Line 93: | Line 133: | ||
!Description | !Description | ||
|- | |- | ||
|attributes | | attributes | ||
|Map<String,double[]> | | Map<String,double[]> | ||
| | | | ||
|- | |- | ||
|categories | | categories | ||
|Category<nowiki>[]</nowiki> | | 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 | ||
| | | | ||
|} | |} | ||
| Line 135: | Line 175: | ||
[[Category:API]] | [[Category:API]] | ||
[[Category:Items]] | |||
Latest revision as of 15:33, 10 November 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/?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_TOKENSpecific Item by ID:
https://engine.tygron.com/api/session/items/functionoverrides/{id}/?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 |