Skip to content

WebhooksManager

//fluxbase-kotlin/io.github.nimbleflux.fluxbase.management/WebhooksManager

[jvm]
class WebhooksManager(http: FluxbaseHttpClient)

Webhooks. Endpoints under /api/v1/webhooks.

WebhooksManager [jvm]
constructor(http: FluxbaseHttpClient)
Name Summary
create [jvm]
suspend fun create(url: String, events: List<String>, description: String? = null, secret: String? = null): FluxbaseResponse<Webhook>
delete [jvm]
suspend fun delete(webhookId: String): FluxbaseResponse<Unit>
list [jvm]
suspend fun list(): FluxbaseResponse<ListWebhooksResponse>
test [jvm]
suspend fun test(webhookId: String): FluxbaseResponse<Unit>