Api session items eventbundles: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Tag: Manual revert
 
(6 intermediate revisions by the same user not shown)
Line 4: Line 4:


Default Query:
Default Query:
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/eventbundles/?f=JSON&token=API_TOKEN</syntaxhighlight>
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/eventbundles/?token=API_TOKEN</syntaxhighlight>
Example Response:
Example Response:
<syntaxhighlight lang="text" copy>[ {
<syntaxhighlight lang="text" copy>[ {
Line 81: Line 81:
     }, true ]
     }, true ]
   } ],
   } ],
  "version" : 7
}, {
  "clientEvents" : [ {
    "id" : 0,
    "parameters" : [ [ "ClientEventType", "SHOW_CUSTOM_PANEL" ], 0, true ]
  } ],
  "compoundEventBundleIDs" : [ ],
  "description" : "",
  "id" : 1,
  "imageName" : "empty.png",
  "imageVersion" : 0,
  "name" : "Open Excel Panel",
  "serverEvents" : [ ],
   "version" : 1
   "version" : 1
} ]</syntaxhighlight>
} ]</syntaxhighlight>
Line 93: Line 106:
Count:  
Count:  
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/eventbundles/count/?token=API_TOKEN</syntaxhighlight>
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/eventbundles/count/?token=API_TOKEN</syntaxhighlight>
Specific Item:  
Specific Item by ID:  
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/eventbundles/{itemID}/?token=API_TOKEN</syntaxhighlight>
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/eventbundles/{id}/?token=API_TOKEN</syntaxhighlight>
==Formats==
==Formats==
HTML:  
HTML:  

Latest revision as of 07:25, 5 October 2026

API Endpoint: /api/session/items/eventbundles/

Edit items with events described at Api session event editor eventbundle.

Default Query:

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

Example Response:

[ {
  "clientEvents" : [ ],
  "compoundEventBundleIDs" : [ ],
  "description" : "",
  "id" : 0,
  "imageName" : "empty.png",
  "imageVersion" : 0,
  "name" : "Welcome Cinematic Start",
  "serverEvents" : [ {
    "id" : 0,
    "parameters" : [ [ "LogicEventType", "CINEMATIC_STAKEHOLDER_START" ], {
      "@type" : "ItemID",
      "id" : 0,
      "mapLink" : "STAKEHOLDERS"
    }, {
      "@type" : "ItemID",
      "id" : 0,
      "mapLink" : "CINEMATIC_DATAS"
    }, true ]
  }, {
    "id" : 1,
    "parameters" : [ [ "LogicEventType", "CINEMATIC_STAKEHOLDER_START" ], {
      "@type" : "ItemID",
      "id" : 2,
      "mapLink" : "STAKEHOLDERS"
    }, {
      "@type" : "ItemID",
      "id" : 0,
      "mapLink" : "CINEMATIC_DATAS"
    }, true ]
  }, {
    "id" : 2,
    "parameters" : [ [ "LogicEventType", "CINEMATIC_STAKEHOLDER_START" ], {
      "@type" : "ItemID",
      "id" : 3,
      "mapLink" : "STAKEHOLDERS"
    }, {
      "@type" : "ItemID",
      "id" : 0,
      "mapLink" : "CINEMATIC_DATAS"
    }, true ]
  }, {
    "id" : 3,
    "parameters" : [ [ "LogicEventType", "CINEMATIC_STAKEHOLDER_START" ], {
      "@type" : "ItemID",
      "id" : 4,
      "mapLink" : "STAKEHOLDERS"
    }, {
      "@type" : "ItemID",
      "id" : 0,
      "mapLink" : "CINEMATIC_DATAS"
    }, true ]
  }, {
    "id" : 4,
    "parameters" : [ [ "LogicEventType", "CINEMATIC_STAKEHOLDER_START" ], {
      "@type" : "ItemID",
      "id" : 4,
      "mapLink" : "STAKEHOLDERS"
    }, {
      "@type" : "ItemID",
      "id" : 0,
      "mapLink" : "CINEMATIC_DATAS"
    }, true ]
  }, {
    "id" : 5,
    "parameters" : [ [ "LogicEventType", "CINEMATIC_STAKEHOLDER_START" ], {
      "@type" : "ItemID",
      "id" : 1,
      "mapLink" : "STAKEHOLDERS"
    }, {
      "@type" : "ItemID",
      "id" : 0,
      "mapLink" : "CINEMATIC_DATAS"
    }, true ]
  } ],
  "version" : 7
}, {
  "clientEvents" : [ {
    "id" : 0,
    "parameters" : [ [ "ClientEventType", "SHOW_CUSTOM_PANEL" ], 0, true ]
  } ],
  "compoundEventBundleIDs" : [ ],
  "description" : "",
  "id" : 1,
  "imageName" : "empty.png",
  "imageVersion" : 0,
  "name" : "Open Excel Panel",
  "serverEvents" : [ ],
  "version" : 1
} ]

Limit Queries

Version=100:

https://engine.tygron.com/api/session/items/eventbundles/?version=100&token=API_TOKEN

Get Queries

Attributes:

https://engine.tygron.com/api/session/items/eventbundles/attributes/?token=API_TOKEN

Max version:

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

Count:

https://engine.tygron.com/api/session/items/eventbundles/count/?token=API_TOKEN

Specific Item by ID:

https://engine.tygron.com/api/session/items/eventbundles/{id}/?token=API_TOKEN

Formats

HTML:

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

JSON:

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

CSV:

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

SSV:

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

SMILE:

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

ZIPJSON:

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

ZIPSMILE:

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

Api Model CodedEvent

API Model description of CodedEvent

Name Type Description
id int
parameters Object[]

Api Model EventBundle

API Model description of EventBundle

Name Type Description
clientEvents CodedEvent[]
compoundEventBundleIDs int[] Event Bundles ID
description String
id int
imageName String
imageVersion int
name String
serverEvents CodedEvent[]
version int