コード例 #1
0
    /// <inheritdoc />
    public async Task <IEnumerable <WebhookModel> > ListWebhooksAsync()
    {
        var endpointUrl = _urlBuilder.BuildWebhooksUrl();

        return(await _actionInvoker.InvokeReadOnlyMethodAsync <IEnumerable <WebhookModel> >(endpointUrl, HttpMethod.Get));
    }