public interface IWebhookService
Methods View Source CreateAsync(IWebhook)
Creates a webhook.
DeclarationTask<Attempt<IWebhook, WebhookOperationStatus>> CreateAsync(IWebhook webhook)
Parameters Returns View Source DeleteAsync(Guid)
Deletes a webhook.
DeclarationTask<Attempt<IWebhook, WebhookOperationStatus>> DeleteAsync(Guid key)
Parameters Type Name Description Guid key
The unique key of the webhook.
Returns View Source GetAllAsync(Int32, Int32)Gets all webhooks.
DeclarationTask<PagedModel<IWebhook>> GetAllAsync(int skip, int take)
Parameters Type Name Description System.Int32 skip System.Int32 take Returns View Source GetAsync(Guid)
Gets a webhook by its key.
DeclarationTask<IWebhook> GetAsync(Guid key)
Parameters Type Name Description Guid key
The unique key of the webhook.
Returns View Source GetByAliasAsync(String)Gets webhooks by event name.
DeclarationTask<IEnumerable<IWebhook>> GetByAliasAsync(string alias)
Parameters Type Name Description System.String alias Returns Type Description Task<IEnumerable<IWebhook>> View Source GetMultipleAsync(IEnumerable<Guid>)
Gets all webhooks with the given keys.
Declarationvirtual Task<IEnumerable<IWebhook>> GetMultipleAsync(IEnumerable<Guid> keys)
Parameters Type Name Description IEnumerable<Guid> keys Returns Type Description Task<IEnumerable<IWebhook>>
An enumerable list of IWebhook objects.
View Source UpdateAsync(IWebhook)Updates a webhook.
DeclarationTask<Attempt<IWebhook, WebhookOperationStatus>> UpdateAsync(IWebhook webhook)
Parameters Returns
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4