Api session items times: 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 [[Time]] Endpoints. | Api session items [[Time]] Endpoints. | ||
Edit items with event: [[Api session event editor time|editortime]]. | |||
Default Query: | Default Query: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/times/?f=JSON&token=API_TOKEN</syntaxhighlight> | ||
Example Response: | Example Response: | ||
< | <syntaxhighlight lang="text" copy>[ { | ||
"id" : 0, | "id" : 0, | ||
"moment" : 1641769200751, | "moment" : 1641769200751, | ||
| Line 14: | Line 14: | ||
"moment" : 1641769200751, | "moment" : 1641769200751, | ||
"version" : 2 | "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> | ||
==Show Queries== | ==Show Queries== | ||
max version: | max version: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/times/version/?token=API_TOKEN</syntaxhighlight> | ||
size: | size: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/times/size/?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> | ||
==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]] | {{article end|seealso=*[[Api Content Items]] | ||
*[[Api session event editor time]] | *[[Api session event editor time]] | ||
| Line 43: | Line 64: | ||
[[Category:API]] | [[Category:API]] | ||
[[Category:Items]] | |||
Latest revision as of 14:14, 24 April 2026
Api session items Time Endpoints.
Edit items with event: editortime.
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_TOKENShow Queries
max version:
https://engine.tygron.com/api/session/items/times/version/?token=API_TOKENsize:
https://engine.tygron.com/api/session/items/times/size/?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 |