Api session items triggers: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (18 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
Api session items [[Trigger]] Endpoint: /api/session/items/triggers/ | |||
==Limit Queries==version=100: | Edit items with events described at [[Api session event editor trigger]]. | ||
< | |||
== | Default Query: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/triggers/?f=JSON&token=API_TOKEN</syntaxhighlight> | ||
Example Response: | |||
<syntaxhighlight lang="text" copy>[ { | |||
"active" : true, | |||
"calcTimeMS" : 14, | |||
"id" : 1, | |||
"method" : "GET", | |||
"name" : "Before", | |||
"timeoutMS" : 10000, | |||
"timing" : "BEFORE", | |||
"type" : "TQL", | |||
"url" : "https://development.tygron.com/api/session/hello", | |||
"version" : 9, | |||
"warnings" : "" | |||
}, { | |||
"active" : true, | |||
"calcTimeMS" : 0, | |||
"id" : 2, | |||
"method" : "GET", | |||
"name" : "After", | |||
"timeoutMS" : 10000, | |||
"timing" : "AFTER", | |||
"type" : "TQL", | |||
"url" : "https://api.powerbi.com/v1.0/myorg/groups/%7BgroupId%7D/datasets/%7BdatasetId%7D/refreshes", | |||
"version" : 4, | |||
"warnings" : "Warning: " | |||
} ]</syntaxhighlight> | |||
==Limit Queries== | |||
version=100: | |||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/triggers/?version=100&token=API_TOKEN</syntaxhighlight> | |||
==Show Queries== | |||
max version: | |||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/triggers/version/?token=API_TOKEN</syntaxhighlight> | |||
size: | size: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/triggers/size/?token=API_TOKEN</syntaxhighlight> | ||
== | ==Formats== | ||
< | HTML: | ||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/triggers/?f=HTML&token=API_TOKEN</syntaxhighlight> | |||
JSON: | JSON: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/triggers/?f=JSON&token=API_TOKEN</syntaxhighlight> | ||
CSV: | CSV: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/triggers/?f=CSV&token=API_TOKEN</syntaxhighlight> | ||
SSV: | SSV: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/triggers/?f=SSV&token=API_TOKEN</syntaxhighlight> | ||
SMILE: | SMILE: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/triggers/?f=SMILE&token=API_TOKEN</syntaxhighlight> | ||
ZIPJSON: | ZIPJSON: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/triggers/?f=ZIPJSON&token=API_TOKEN</syntaxhighlight> | ||
ZIPSMILE: | ZIPSMILE: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/triggers/?f=ZIPSMILE&token=API_TOKEN</syntaxhighlight> | ||
{{article end|seealso=*[[Api Content Items]]}} | ==Api Model Method== | ||
API Enumeration description of Method | |||
{|class=wikitable | |||
!Name | |||
!Description | |||
|- | |||
|GET | |||
| | |||
|- | |||
|POST | |||
| | |||
|} | |||
==Api Model Timing== | |||
API Enumeration description of Timing | |||
{|class=wikitable | |||
!Name | |||
!Description | |||
|- | |||
|BEFORE | |||
| | |||
|- | |||
|AFTER | |||
| | |||
|} | |||
==Api Model Trigger== | |||
API Model description of Trigger | |||
{|class=wikitable | |||
!Name | |||
!Type | |||
!Description | |||
|- | |||
|active | |||
|boolean | |||
| | |||
|- | |||
|calcTimeMS | |||
|long | |||
| | |||
|- | |||
|id | |||
|int | |||
| | |||
|- | |||
|method | |||
|Method | |||
| | |||
|- | |||
|name | |||
|String | |||
| | |||
|- | |||
|timeoutMS | |||
|int | |||
| | |||
|- | |||
|timing | |||
|Timing | |||
| | |||
|- | |||
|type | |||
|Type | |||
| | |||
|- | |||
|url | |||
|String | |||
| | |||
|- | |||
|version | |||
|int | |||
| | |||
|- | |||
|warnings | |||
|String | |||
| | |||
|} | |||
==Api Model Type (Trigger)== | |||
API Enumeration description of Type | |||
{|class=wikitable | |||
!Name | |||
!Description | |||
|- | |||
|TQL | |||
| | |||
|- | |||
|EVENT | |||
| | |||
|} | |||
{{article end|seealso=*[[Api Content Items]] | |||
*[[Api session event editor trigger]] | |||
}} | |||
[[Category:API]] | [[Category:API]] | ||
[[Category:Items]] | |||
Latest revision as of 12:14, 29 May 2026
Api session items Trigger Endpoint: /api/session/items/triggers/
Edit items with events described at Api session event editor trigger.
Default Query:
https://engine.tygron.com/api/session/items/triggers/?f=JSON&token=API_TOKENExample Response:
[ {
"active" : true,
"calcTimeMS" : 14,
"id" : 1,
"method" : "GET",
"name" : "Before",
"timeoutMS" : 10000,
"timing" : "BEFORE",
"type" : "TQL",
"url" : "https://development.tygron.com/api/session/hello",
"version" : 9,
"warnings" : ""
}, {
"active" : true,
"calcTimeMS" : 0,
"id" : 2,
"method" : "GET",
"name" : "After",
"timeoutMS" : 10000,
"timing" : "AFTER",
"type" : "TQL",
"url" : "https://api.powerbi.com/v1.0/myorg/groups/%7BgroupId%7D/datasets/%7BdatasetId%7D/refreshes",
"version" : 4,
"warnings" : "Warning: "
} ]Limit Queries
version=100:
https://engine.tygron.com/api/session/items/triggers/?version=100&token=API_TOKENShow Queries
max version:
https://engine.tygron.com/api/session/items/triggers/version/?token=API_TOKENsize:
https://engine.tygron.com/api/session/items/triggers/size/?token=API_TOKENFormats
HTML:
https://engine.tygron.com/api/session/items/triggers/?f=HTML&token=API_TOKENJSON:
https://engine.tygron.com/api/session/items/triggers/?f=JSON&token=API_TOKENCSV:
https://engine.tygron.com/api/session/items/triggers/?f=CSV&token=API_TOKENSSV:
https://engine.tygron.com/api/session/items/triggers/?f=SSV&token=API_TOKENSMILE:
https://engine.tygron.com/api/session/items/triggers/?f=SMILE&token=API_TOKENZIPJSON:
https://engine.tygron.com/api/session/items/triggers/?f=ZIPJSON&token=API_TOKENZIPSMILE:
https://engine.tygron.com/api/session/items/triggers/?f=ZIPSMILE&token=API_TOKENApi Model Method
API Enumeration description of Method
| Name | Description |
|---|---|
| GET | |
| POST |
Api Model Timing
API Enumeration description of Timing
| Name | Description |
|---|---|
| BEFORE | |
| AFTER |
Api Model Trigger
API Model description of Trigger
| Name | Type | Description |
|---|---|---|
| active | boolean | |
| calcTimeMS | long | |
| id | int | |
| method | Method | |
| name | String | |
| timeoutMS | int | |
| timing | Timing | |
| type | Type | |
| url | String | |
| version | int | |
| warnings | String |
Api Model Type (Trigger)
API Enumeration description of Type
| Name | Description |
|---|---|
| TQL | |
| EVENT |