Api session items functionoverrides: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 15: Line 15:
   "maquetteOverride" : null,
   "maquetteOverride" : null,
   "name" : "",
   "name" : "",
   "version" : 3
   "version" : 1
}, {
}, {
   "attributes" : null,
   "attributes" : null,
Line 25: Line 25:
   "maquetteOverride" : null,
   "maquetteOverride" : null,
   "name" : "",
   "name" : "",
   "version" : 5
   "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&lt;String,double[]&gt;
| Map&lt;String,double[]&gt;
|
|  
|-
|-
|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&lt;String,double[]&gt;
| Map&lt;String,double[]&gt;
|
|  
|-
|-
|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_TOKEN

Example 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_TOKEN

Show Queries

max version:

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

size:

https://engine.tygron.com/api/session/items/functionoverrides/size/?token=API_TOKEN

Formats

HTML:

https://engine.tygron.com/api/session/items/functionoverrides/?f=HTML&token=API_TOKEN

JSON:

https://engine.tygron.com/api/session/items/functionoverrides/?f=JSON&token=API_TOKEN

CSV:

https://engine.tygron.com/api/session/items/functionoverrides/?f=CSV&token=API_TOKEN

SSV:

https://engine.tygron.com/api/session/items/functionoverrides/?f=SSV&token=API_TOKEN

SMILE:

https://engine.tygron.com/api/session/items/functionoverrides/?f=SMILE&token=API_TOKEN

ZIPJSON:

https://engine.tygron.com/api/session/items/functionoverrides/?f=ZIPJSON&token=API_TOKEN

ZIPSMILE:

https://engine.tygron.com/api/session/items/functionoverrides/?f=ZIPSMILE&token=API_TOKEN

Api 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