Skip to content

Function: getWebhookTransitions() ​

ts
function getWebhookTransitions(
   client, 
   parameters, 
   options?
): Promise<unknown>;

Defined in: src/server/api/webhooks.ts:155

Returns the transitions a webhook has been through. Requires administrator permission. The shape of an entry is not described here: an instance that has never delivered a webhook answers with an empty list, and guessing what a populated one holds would be worse than leaving it to the caller.

Parameters ​

ParameterTypeDescription
clientClient-
parameters{ webhookId: number; }-
parameters.webhookIdnumberThe id of the webhook.
options?RequestOptions-

Returns ​

Promise<unknown>