MCPcopy Create free account
hub / github.com/rmyndharis/OpenWA / test

Method test

sdk/javascript/src/resources/webhooks.ts:58–63  ·  view source on GitHub ↗

Trigger a test dispatch to the webhook URL and report the result.

(sessionId: string, id: string)

Source from the content-addressed store, hash-verified

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}

Callers 2

asFetchMethod · 0.45
resources.test.tsFile · 0.45

Calls 2

encodeSegmentFunction · 0.85
requestMethod · 0.45

Tested by

no test coverage detected