IgdbWebhookApi

interface IgdbWebhookApi

IgdbWebhookApi allows you to manage webhooks using the IGDB Webhook API

See https://api-docs.igdb.com/#webhooks

Types

Link copied to clipboard

The type of data change event for which a subscription will be created and notifications will be sent to the webhook url

Functions

Link copied to clipboard

Removes a registered webhook.

Link copied to clipboard

Returns all registered webhooks.

Link copied to clipboard

Returns information about a specific webhook.

Link copied to clipboard

Registers a new webhook.

Link copied to clipboard
abstract suspend fun testWebhook(endpoint: IgdbEndpoint<*>, webhookId: IgdbWebhookId, entityId: String): IgdbResult<String, IgdbHttpErrorResponse>

Allows you to test a registered webhook.