Api session items textures: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (7 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
Api session items [[Texture]] Endpoints. | Api session items [[Texture]] Endpoints. | ||
Default Query: | Default Query: | ||
| Line 11: | Line 9: | ||
"name" : "House Window", | "name" : "House Window", | ||
"texture" : "windows.dds", | "texture" : "windows.dds", | ||
"version" : | "version" : 4 | ||
}, { | }, { | ||
"coordinates" : [ 0.0, 0.0, 0.34, 0.5 ], | "coordinates" : [ 0.0, 0.0, 0.34, 0.5 ], | ||
| Line 21: | Line 19: | ||
==Limit Queries== | ==Limit Queries== | ||
version=100: | version=100: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/textures/?version=100&token=API_TOKEN</syntaxhighlight> | ||
==Show Queries== | ==Show Queries== | ||
max version: | max version: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/textures/version/?token=API_TOKEN</syntaxhighlight> | ||
size: | size: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/textures/size/?token=API_TOKEN</syntaxhighlight> | ||
==Formats== | ==Formats== | ||
HTML: | HTML: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/textures/?f=HTML&token=API_TOKEN</syntaxhighlight> | ||
JSON: | JSON: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/textures/?f=JSON&token=API_TOKEN</syntaxhighlight> | ||
CSV: | CSV: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/textures/?f=CSV&token=API_TOKEN</syntaxhighlight> | ||
SSV: | SSV: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/textures/?f=SSV&token=API_TOKEN</syntaxhighlight> | ||
SMILE: | SMILE: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/textures/?f=SMILE&token=API_TOKEN</syntaxhighlight> | ||
ZIPJSON: | ZIPJSON: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/textures/?f=ZIPJSON&token=API_TOKEN</syntaxhighlight> | ||
ZIPSMILE: | ZIPSMILE: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/textures/?f=ZIPSMILE&token=API_TOKEN</syntaxhighlight> | ||
==Api Model DecalTexture== | |||
API Model description of DecalTexture | |||
{|class=wikitable | |||
!Name | |||
!Type | |||
!Description | |||
|- | |||
|coordinates | |||
|float[] | |||
| | |||
|- | |||
|id | |||
|int | |||
| | |||
|- | |||
|name | |||
|String | |||
| | |||
|- | |||
|texture | |||
|String | |||
| | |||
|- | |||
|version | |||
|int | |||
| | |||
|} | |||
{{article end|seealso=*[[Api Content Items]] | {{article end|seealso=*[[Api Content Items]] | ||
*[[Api session event editor ]] | *[[Api session event editor]] | ||
}} | }} | ||
[[Category:API]] | [[Category:API]] | ||
[[Category:Items]] | |||
Latest revision as of 14:14, 24 April 2026
Api session items Texture Endpoints.
Default Query:
https://engine.tygron.com/api/session/items/textures/?f=JSON&token=API_TOKENExample Response:
[ {
"coordinates" : [ 0.0, 0.0, 0.28, 0.5 ],
"id" : 0,
"name" : "House Window",
"texture" : "windows.dds",
"version" : 4
}, {
"coordinates" : [ 0.0, 0.0, 0.34, 0.5 ],
"id" : 1,
"name" : "Manor Door",
"texture" : "doors.dds",
"version" : 3
} ]Limit Queries
version=100:
https://engine.tygron.com/api/session/items/textures/?version=100&token=API_TOKENShow Queries
max version:
https://engine.tygron.com/api/session/items/textures/version/?token=API_TOKENsize:
https://engine.tygron.com/api/session/items/textures/size/?token=API_TOKENFormats
HTML:
https://engine.tygron.com/api/session/items/textures/?f=HTML&token=API_TOKENJSON:
https://engine.tygron.com/api/session/items/textures/?f=JSON&token=API_TOKENCSV:
https://engine.tygron.com/api/session/items/textures/?f=CSV&token=API_TOKENSSV:
https://engine.tygron.com/api/session/items/textures/?f=SSV&token=API_TOKENSMILE:
https://engine.tygron.com/api/session/items/textures/?f=SMILE&token=API_TOKENZIPJSON:
https://engine.tygron.com/api/session/items/textures/?f=ZIPJSON&token=API_TOKENZIPSMILE:
https://engine.tygron.com/api/session/items/textures/?f=ZIPSMILE&token=API_TOKENApi Model DecalTexture
API Model description of DecalTexture
| Name | Type | Description |
|---|---|---|
| coordinates | float[] | |
| id | int | |
| name | String | |
| texture | String | |
| version | int |