Api session items functionoverrides: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(20 intermediate revisions by the same user not shown)
Line 1: Line 1:
Api session items [[Function Override]]s Endpoints.
API Endpoint: /api/session/items/functionoverrides/


Edit items with event: [[Api session event editor functionoverride|editorfunctionoverride]].
Edit items with events described at [[Api session event editor functionoverride]].


Default Query:
Default Query:
Line 15: Line 15:
   "maquetteOverride" : null,
   "maquetteOverride" : null,
   "name" : "",
   "name" : "",
   "version" : 14
   "version" : 1
}, {
}, {
   "attributes" : null,
   "attributes" : null,
Line 25: Line 25:
   "maquetteOverride" : null,
   "maquetteOverride" : null,
   "name" : "",
   "name" : "",
   "version" : 4
   "version" : 2
} ]</syntaxhighlight>
} ]</syntaxhighlight>
==Limit Queries==
==Limit Queries==
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>
==Show Queries==
==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>
size:  
count:  
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/functionoverrides/size/?token=API_TOKEN</syntaxhighlight>
<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 FunctionOverride==
API Model description of FunctionOverride
API Model description of FunctionOverride
Line 58: Line 131:
!Description
!Description
|-
|-
|attributes
| attributes
|Map&lt;String,double[]&gt;
| Map&lt;String,double[]&gt;
|
|  
|-
|-
|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&lt;String,double[]&gt;
| Map&lt;String,double[]&gt;
|
|  
|-
|-
|name
| name
|String
| String
|
|  
|-
|-
|version
| version
|int
| int
|
|  
|}
|}


Line 100: 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_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

Get Queries

attributes:

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

max version:

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

count:

https://engine.tygron.com/api/session/items/functionoverrides/count/?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[] Category[]
description String
id int
imageName String
imageVersion int
maquetteOverride Map<String,double[]>
name String
version int