Skip to Content
Docs

List triggers for type

GET
/types/{typeId}/triggers

Authorization

jwt
headerAuthorizationBearer <JWT>

Path Parameters

typeId*string
Match^[a-z0-9]+(?:-[a-z0-9]+)*$

Header Parameters

Response Body

application/json
  1. response
preInsert*array<||>
postInsert*array<||>
preUpdate*array<||>
postUpdate*array<||>
preDelete*array<||>
postDelete*array<||>
Example Request
curl -X GET 'https://native-object-registry.your-tenant-id.my.contextual.io/api/v1/types/string/triggers'
Example Response
{  "preInsert": [    {      "id": "string",      "type": "system",      "name": "string",      "description": "string",      "action": "send-to-agent",      "agentId": "string",      "disabled": true    }  ],  "postInsert": [    {      "id": "string",      "type": "system",      "name": "string",      "description": "string",      "action": "send-to-agent",      "agentId": "string",      "disabled": true    }  ],  "preUpdate": [    {      "id": "string",      "type": "system",      "name": "string",      "description": "string",      "action": "send-to-agent",      "agentId": "string",      "disabled": true    }  ],  "postUpdate": [    {      "id": "string",      "type": "system",      "name": "string",      "description": "string",      "action": "send-to-agent",      "agentId": "string",      "disabled": true    }  ],  "preDelete": [    {      "id": "string",      "type": "system",      "name": "string",      "description": "string",      "action": "send-to-agent",      "agentId": "string",      "disabled": true    }  ],  "postDelete": [    {      "id": "string",      "type": "system",      "name": "string",      "description": "string",      "action": "send-to-agent",      "agentId": "string",      "disabled": true    }  ]}