Api session items times: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (24 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
api session items | API Endpoint: /api/session/items/times/ | ||
Edit items with events described at [[Api session event editor time]]. | |||
Default Query: | |||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/times/?f=JSON&token=API_TOKEN</syntaxhighlight> | |||
Example Response: | |||
<syntaxhighlight lang="text" copy>[ { | |||
"id" : 0, | |||
"moment" : 1641769200751, | |||
"version" : 1 | |||
}, { | |||
"id" : 1, | |||
"moment" : 1641769200751, | |||
"version" : 2 | |||
} ]</syntaxhighlight> | |||
==Limit Queries== | ==Limit Queries== | ||
version=100: | version=100: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/times/?version=100&token=API_TOKEN</syntaxhighlight> | ||
== | ==Get Queries== | ||
attributes: | |||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/times/attributes/?token=API_TOKEN</syntaxhighlight> | |||
max version: | max version: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/times/version/?token=API_TOKEN</syntaxhighlight> | ||
count: | |||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/times/count/?token=API_TOKEN</syntaxhighlight> | ||
==Formats== | ==Formats== | ||
HTML: | HTML: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/times/?f=HTML&token=API_TOKEN</syntaxhighlight> | ||
JSON: | JSON: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/times/?f=JSON&token=API_TOKEN</syntaxhighlight> | ||
CSV: | CSV: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/times/?f=CSV&token=API_TOKEN</syntaxhighlight> | ||
SSV: | SSV: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/times/?f=SSV&token=API_TOKEN</syntaxhighlight> | ||
SMILE: | SMILE: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/times/?f=SMILE&token=API_TOKEN</syntaxhighlight> | ||
ZIPJSON: | ZIPJSON: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/times/?f=ZIPJSON&token=API_TOKEN</syntaxhighlight> | ||
ZIPSMILE: | ZIPSMILE: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/times/?f=ZIPSMILE&token=API_TOKEN</syntaxhighlight> | ||
{{article end|seealso=*[[Api Content Items]]}} | ==Api Model Moment== | ||
API Model description of Moment | |||
{|class=wikitable | |||
!Name | |||
!Type | |||
!Description | |||
|- | |||
| id | |||
| int | |||
| | |||
|- | |||
| moment | |||
| long | |||
| | |||
|- | |||
| version | |||
| int | |||
| | |||
|} | |||
{{article end|seealso=*[[Api Content Items]] | |||
*[[Api session event editor time]] | |||
}} | |||
[[Category:API]] | [[Category:API]] | ||
[[Category:Items]] | |||
Latest revision as of 07:14, 7 July 2026
API Endpoint: /api/session/items/times/
Edit items with events described at Api session event editor time.
Default Query:
https://engine.tygron.com/api/session/items/times/?f=JSON&token=API_TOKENExample Response:
[ {
"id" : 0,
"moment" : 1641769200751,
"version" : 1
}, {
"id" : 1,
"moment" : 1641769200751,
"version" : 2
} ]Limit Queries
version=100:
https://engine.tygron.com/api/session/items/times/?version=100&token=API_TOKENGet Queries
attributes:
https://engine.tygron.com/api/session/items/times/attributes/?token=API_TOKENmax version:
https://engine.tygron.com/api/session/items/times/version/?token=API_TOKENcount:
https://engine.tygron.com/api/session/items/times/count/?token=API_TOKENFormats
HTML:
https://engine.tygron.com/api/session/items/times/?f=HTML&token=API_TOKENJSON:
https://engine.tygron.com/api/session/items/times/?f=JSON&token=API_TOKENCSV:
https://engine.tygron.com/api/session/items/times/?f=CSV&token=API_TOKENSSV:
https://engine.tygron.com/api/session/items/times/?f=SSV&token=API_TOKENSMILE:
https://engine.tygron.com/api/session/items/times/?f=SMILE&token=API_TOKENZIPJSON:
https://engine.tygron.com/api/session/items/times/?f=ZIPJSON&token=API_TOKENZIPSMILE:
https://engine.tygron.com/api/session/items/times/?f=ZIPSMILE&token=API_TOKENApi Model Moment
API Model description of Moment
| Name | Type | Description |
|---|---|---|
| id | int | |
| moment | long | |
| version | int |