Class WebhooksController

Assembly: redb.Identity.Management.dll

W1 — REST admin API for outbound webhook subscriptions.
Forwards to direct-vm://identity-manage-webhooks.

[Route("webhooks")]
public class WebhooksController : IdentityControllerBase

Inheritance

Inherited Members

Methods

Create(CreateWebhookSubscriptionRequest)

[HttpPost(null)]
public Task<object?> Create(CreateWebhookSubscriptionRequest request)

Delete(string)

[HttpDelete("{id}")]
public Task<object?> Delete(string id)

Get(string)

[HttpGet("{id}")]
public Task<object?> Get(string id)

List(int, int)

[HttpGet(null)]
public Task<object?> List(int offset = 0, int count = 25)

ListDeliveries(string?, string?, string?, int, int)

The rows of the delivery outbox, webhooks and audit targets alike, newest first, without payload.

[HttpGet("deliveries")]
public Task<object?> ListDeliveries(string? status = null, string? kind = null, string? destination = null, int offset = 0, int count = 25)

Redeliver(string)

Sends a failed or cancelled delivery again, from its first attempt.

[HttpPost("deliveries/{id}/redeliver")]
public Task<object?> Redeliver(string id)

RotateSecret(string)

[HttpPost("{id}/rotate-secret")]
public Task<object?> RotateSecret(string id)

Update(string, UpdateWebhookSubscriptionRequest)

[HttpPut("{id}")]
public Task<object?> Update(string id, UpdateWebhookSubscriptionRequest request)