Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IWebhookLogRepository

    Represents a repository for WebhookLog entities.

    Namespace: Umbraco.Cms.Core.Persistence.Repositories
    Assembly: Umbraco.Core.dll
    Syntax
    public interface IWebhookLogRepository

    Methods

    View Source

    CreateAsync(WebhookLog)

    Creates a new webhook log entry.

    Declaration
    Task CreateAsync(WebhookLog log)
    Parameters
    Type Name Description
    WebhookLog log

    The webhook log to create.

    Returns
    Type Description
    Task

    A task representing the asynchronous operation.

    View Source

    DeleteByIds(int[])

    Deletes webhook logs by their identifiers.

    Declaration
    Task DeleteByIds(int[] ids)
    Parameters
    Type Name Description
    int[] ids

    The identifiers of the logs to delete.

    Returns
    Type Description
    Task

    A task representing the asynchronous operation.

    View Source

    GetOlderThanDate(DateTime)

    Gets webhook logs older than the specified date.

    Declaration
    Task<IEnumerable<WebhookLog>> GetOlderThanDate(DateTime date)
    Parameters
    Type Name Description
    DateTime date

    The cutoff date.

    Returns
    Type Description
    Task<IEnumerable<WebhookLog>>

    A collection of webhook logs older than the specified date.

    View Source

    GetPagedAsync(Guid, int, int)

    Gets paged webhook logs for a specific webhook.

    Declaration
    Task<PagedModel<WebhookLog>> GetPagedAsync(Guid webhookKey, int skip, int take)
    Parameters
    Type Name Description
    Guid webhookKey

    The unique key of the webhook.

    int skip

    The number of records to skip.

    int take

    The number of records to take.

    Returns
    Type Description
    Task<PagedModel<WebhookLog>>

    A paged model of webhook logs for the specified webhook.

    View Source

    GetPagedAsync(int, int)

    Gets paged webhook logs.

    Declaration
    Task<PagedModel<WebhookLog>> GetPagedAsync(int skip, int take)
    Parameters
    Type Name Description
    int skip

    The number of records to skip.

    int take

    The number of records to take.

    Returns
    Type Description
    Task<PagedModel<WebhookLog>>

    A paged model of webhook logs.

    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX