Constructors

Methods

  • Returns audit logs based on filters. Query audit logs

    Parameters

    • OptionaluserId: string[]

      Comma separated list of user ids to filter by.

    • OptionaleventType: string[]

      Comma separated list of event types to filter by (CREATED, UPDATED, PUBLISHED, DELETED, UNPUBLISHED).

    • OptionalobjectType: string[]

      Comma separated list of object types to filter by (BLOG, LANDING_PAGE, DOMAIN, HUBDB_TABLE etc.)

    • OptionalobjectId: string[]

      Comma separated list of object ids to filter by.

    • Optionalafter: string

      Timestamp after which audit logs will be returned

    • Optionalbefore: string

      Timestamp before which audit logs will be returned

    • Optionallimit: number

      The number of logs to return.

    • Optionalsort: string[]

      The sort direction for the audit logs. (Can only sort by timestamp).

    • Optional_options: Configuration

    Returns Promise<CollectionResponsePublicAuditLog>

  • Returns audit logs based on filters. Query audit logs

    Parameters

    • OptionaluserId: string[]

      Comma separated list of user ids to filter by.

    • OptionaleventType: string[]

      Comma separated list of event types to filter by (CREATED, UPDATED, PUBLISHED, DELETED, UNPUBLISHED).

    • OptionalobjectType: string[]

      Comma separated list of object types to filter by (BLOG, LANDING_PAGE, DOMAIN, HUBDB_TABLE etc.)

    • OptionalobjectId: string[]

      Comma separated list of object ids to filter by.

    • Optionalafter: string

      Timestamp after which audit logs will be returned

    • Optionalbefore: string

      Timestamp before which audit logs will be returned

    • Optionallimit: number

      The number of logs to return.

    • Optionalsort: string[]

      The sort direction for the audit logs. (Can only sort by timestamp).

    • Optional_options: Configuration

    Returns Promise<HttpInfo<CollectionResponsePublicAuditLog>>