Api session items triggers: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 8: Line 8:
<syntaxhighlight lang="text" copy>[ {
<syntaxhighlight lang="text" copy>[ {
   "active" : true,
   "active" : true,
   "calcTimeMS" : 22,
   "calcTimeMS" : 136,
   "id" : 1,
   "id" : 1,
   "method" : "GET",
   "method" : "GET",
Line 16: Line 16:
   "type" : "TQL",
   "type" : "TQL",
   "url" : "https://development.tygron.com/api/session/hello",
   "url" : "https://development.tygron.com/api/session/hello",
   "version" : 2,
   "version" : 3,
   "warnings" : ""
   "warnings" : ""
}, {
}, {
Line 28: Line 28:
   "type" : "TQL",
   "type" : "TQL",
   "url" : "https://api.powerbi.com/v1.0/myorg/groups/%7BgroupId%7D/datasets/%7BdatasetId%7D/refreshes",
   "url" : "https://api.powerbi.com/v1.0/myorg/groups/%7BgroupId%7D/datasets/%7BdatasetId%7D/refreshes",
   "version" : 1,
   "version" : 4,
   "warnings" : "Warning:"
   "warnings" : "Warning: "
} ]</syntaxhighlight>
} ]</syntaxhighlight>
==Limit Queries==
==Limit Queries==

Revision as of 08:49, 15 April 2026

Api session items Trigger Endpoints.

Edit items with event: editortrigger.

Default Query:

https://engine.tygron.com/api/session/items/triggers/?f=JSON&token=API_TOKEN

Example Response:

[ {
  "active" : true,
  "calcTimeMS" : 136,
  "id" : 1,
  "method" : "GET",
  "name" : "Before",
  "timeoutMS" : 10000,
  "timing" : "BEFORE",
  "type" : "TQL",
  "url" : "https://development.tygron.com/api/session/hello",
  "version" : 3,
  "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_TOKEN

Show Queries

max version:

https://engine.tygron.com/api/session/items/triggers/version/?token=API_TOKEN

size:

https://engine.tygron.com/api/session/items/triggers/size/?token=API_TOKEN

Formats

HTML:

https://engine.tygron.com/api/session/items/triggers/?f=HTML&token=API_TOKEN

JSON:

https://engine.tygron.com/api/session/items/triggers/?f=JSON&token=API_TOKEN

CSV:

https://engine.tygron.com/api/session/items/triggers/?f=CSV&token=API_TOKEN

SSV:

https://engine.tygron.com/api/session/items/triggers/?f=SSV&token=API_TOKEN

SMILE:

https://engine.tygron.com/api/session/items/triggers/?f=SMILE&token=API_TOKEN

ZIPJSON:

https://engine.tygron.com/api/session/items/triggers/?f=ZIPJSON&token=API_TOKEN

ZIPSMILE:

https://engine.tygron.com/api/session/items/triggers/?f=ZIPSMILE&token=API_TOKEN