listWebhookReplayTasks()
Reads replay task history for one webhook app.
Usage
The following example shows a basic usage of the backend client from @wacht/nextjs/server.
import { wachtClient } from '@wacht/nextjs/server';export async function example() { const client = await wachtClient(); const appSlug: string = 'appslug'; const options: ListOptions = { limit: 20, offset: 0, }; return client.webhooks.listWebhookReplayTasks(appSlug, options);}Signature
function listWebhookReplayTasks( appSlug: string, options?: { limit?: number; offset?: number },): Promise<ReplayTaskListResponse>List options
›appSlug?: string | undefined;
appSlug?: string | undefined;Webhook app slug.
›options.limit?: number | undefined;
options.limit?: number | undefined;Maximum tasks per page.
›options.offset?: number | undefined;
options.offset?: number | undefined;Result offset.
Return value
›data?: ReplayTaskStatus[] | undefined;
data?: ReplayTaskStatus[] | undefined;Replay tasks for this page.
›has_more?: boolean | undefined;
has_more?: boolean | undefined;Whether more replay tasks are available.