Triggers List
Retrieves all trigger that support to create or update event in eTask.
GET api/events/triggers
--x-appvity-channelId: [ChannelID]
--x-appvity-teamid: [TeamID]
--Cookie: graphNodeCookie=[ID] |
URL Endpoint
api/events/triggers
Method
GET.
Parameters
Support OData Filter syntax.
Request
Header
--x-appvity-channelId: [ChannelID]
--x-appvity-teamid: [TeamID]
--Cookie: graphNodeCookie=[ID]
Body
This method does not supply the request body.
Response
If successful, this method returns 200 OK
response code and list of triggers:
{
"id": "",
"entityType": "[Type]",
"name": "[TriggerName]",
"displayName": "[DisplayName]"
}
Example:
Request
curl --location --request GET 'https://teams.appvity.com/api/events/actions' \
--header 'x-appvity-channelId: 19:15c258785b4040699180e7a8ad6c6014@thread.tacv2' \
--header 'x-appvity-teamid: 19:15c258785b4040699180e7a8ad6c6014@thread.tacv2' \
--header 'Cookie: graphNodeCookie=s%3Ay99BNluVZ2N79o8oBS8tqaYZ56FhIqtD.7G32PfH%2FxaLvWgBgt7eHqKqbvDL%2FFmTcuDG5z8g0cC0'
Response
[
{
"id": "",
"entityType": "task",
"name": "ITEM_CREATED",
"displayName": "A task is created"
},
{
"id": "",
"entityType": "task",
"name": "ITEM_UPDATED",
"displayName": "A task is updated"
},
{
"id": "",
"entityType": "task",
"name": "DUESOON",
"displayName": "A task is due soon"
},
{
"id": "",
"entityType": "task",
"name": "ITEM_DELETED",
"displayName": "A task is deleted"
},
{
"id": "",
"entityType": "task",
"name": "OVERDUE",
"displayName": "A task is overdue"
},
{
"id": "",
"entityType": "bug",
"name": "ITEM_CREATED",
"displayName": "A bug is created"
},
{
"id": "",
"entityType": "bug",
"name": "ITEM_UPDATED",
"displayName": "A bug is updated"
},
{
"id": "",
"entityType": "bug",
"name": "DUESOON",
"displayName": "A bug is due soon"
},
{
"id": "",
"entityType": "bug",
"name": "ITEM_DELETED",
"displayName": "A bug is deleted"
},
{
"id": "",
"entityType": "bug",
"name": "OVERDUE",
"displayName": "A bug is overdue"
}
]