Skip to main content

register

Function register 

Source
pub async fn register(
    __arg0: State<Arc<AppState>>,
    __arg1: Json<WebhookConfig>,
) -> impl IntoResponse
Expand description

Register a new webhook config.

Mounted at POST /api/v1/webhooks.