Trigger a test dispatch to the webhook URL and report the result.
(sessionId: string, id: string)
| 56 | |
| 57 | /** Trigger a test dispatch to the webhook URL and report the result. */ |
| 58 | test(sessionId: string, id: string): Promise<WebhookTestResult> { |
| 59 | return this.client.request<WebhookTestResult>({ |
| 60 | method: 'POST', |
| 61 | path: `/api/sessions/${encodeSegment(sessionId)}/webhooks/${encodeSegment(id)}/test`, |
| 62 | }); |
| 63 | } |
| 64 | } |
no test coverage detected