Api session items projectassets: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (12 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
Api session items [[Project Asset]]s Endpoint: /api/session/items/projectassets/ | |||
==Limit Queries==version=100: | Edit items with events described at [[Api session event editor projectasset]]. | ||
< | |||
== | Default Query: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/projectassets/?f=JSON&token=API_TOKEN</syntaxhighlight> | ||
Example Response: | |||
<syntaxhighlight lang="text" copy>[ { | |||
"checksum" : "STATIC", | |||
"id" : 0, | |||
"location" : "Satellite/api-test.jpg", | |||
"version" : 2 | |||
}, { | |||
"checksum" : "STATIC", | |||
"id" : 1, | |||
"location" : "Satellite/api-test0.jpg", | |||
"version" : 3 | |||
} ]</syntaxhighlight> | |||
==Limit Queries== | |||
version=100: | |||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/projectassets/?version=100&token=API_TOKEN</syntaxhighlight> | |||
==Show Queries== | |||
max version: | |||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/projectassets/version/?token=API_TOKEN</syntaxhighlight> | |||
size: | size: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/projectassets/size/?token=API_TOKEN</syntaxhighlight> | ||
== | ==Formats== | ||
< | HTML: | ||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/projectassets/?f=HTML&token=API_TOKEN</syntaxhighlight> | |||
JSON: | JSON: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/projectassets/?f=JSON&token=API_TOKEN</syntaxhighlight> | ||
CSV: | CSV: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/projectassets/?f=CSV&token=API_TOKEN</syntaxhighlight> | ||
SSV: | SSV: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/projectassets/?f=SSV&token=API_TOKEN</syntaxhighlight> | ||
SMILE: | SMILE: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/projectassets/?f=SMILE&token=API_TOKEN</syntaxhighlight> | ||
ZIPJSON: | ZIPJSON: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/projectassets/?f=ZIPJSON&token=API_TOKEN</syntaxhighlight> | ||
ZIPSMILE: | ZIPSMILE: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/projectassets/?f=ZIPSMILE&token=API_TOKEN</syntaxhighlight> | ||
{{article end|seealso=*[[Api Content Items]]}} | ==Api Model ProjectAsset== | ||
API Model description of ProjectAsset | |||
{|class=wikitable | |||
!Name | |||
!Type | |||
!Description | |||
|- | |||
|checksum | |||
|String | |||
| | |||
|- | |||
|id | |||
|int | |||
| | |||
|- | |||
|location | |||
|String | |||
| | |||
|- | |||
|version | |||
|int | |||
| | |||
|} | |||
{{article end|seealso=*[[Api Content Items]] | |||
*[[Api session event editor projectasset]] | |||
}} | |||
[[Category:API]] | [[Category:API]] | ||
[[Category:Items]] | |||
Latest revision as of 12:14, 29 May 2026
Api session items Project Assets Endpoint: /api/session/items/projectassets/
Edit items with events described at Api session event editor projectasset.
Default Query:
https://engine.tygron.com/api/session/items/projectassets/?f=JSON&token=API_TOKENExample Response:
[ {
"checksum" : "STATIC",
"id" : 0,
"location" : "Satellite/api-test.jpg",
"version" : 2
}, {
"checksum" : "STATIC",
"id" : 1,
"location" : "Satellite/api-test0.jpg",
"version" : 3
} ]Limit Queries
version=100:
https://engine.tygron.com/api/session/items/projectassets/?version=100&token=API_TOKENShow Queries
max version:
https://engine.tygron.com/api/session/items/projectassets/version/?token=API_TOKENsize:
https://engine.tygron.com/api/session/items/projectassets/size/?token=API_TOKENFormats
HTML:
https://engine.tygron.com/api/session/items/projectassets/?f=HTML&token=API_TOKENJSON:
https://engine.tygron.com/api/session/items/projectassets/?f=JSON&token=API_TOKENCSV:
https://engine.tygron.com/api/session/items/projectassets/?f=CSV&token=API_TOKENSSV:
https://engine.tygron.com/api/session/items/projectassets/?f=SSV&token=API_TOKENSMILE:
https://engine.tygron.com/api/session/items/projectassets/?f=SMILE&token=API_TOKENZIPJSON:
https://engine.tygron.com/api/session/items/projectassets/?f=ZIPJSON&token=API_TOKENZIPSMILE:
https://engine.tygron.com/api/session/items/projectassets/?f=ZIPSMILE&token=API_TOKENApi Model ProjectAsset
API Model description of ProjectAsset
| Name | Type | Description |
|---|---|---|
| checksum | String | |
| id | int | |
| location | String | |
| version | int |