メインコンテンツまでスキップ

List audit logs

GET 

/bv/analytics/v1/audit/logs

Lists audit logs with filtering options.


Returns a 400/BadRequest error if the request is invalid. Returns a 500/Internal Server Error error if any internal error occurs.

Request

Query Parameters

    start_time.year int32

    Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a datetime without a year.

    start_time.month int32

    Required. Month of year. Must be from 1 to 12.

    start_time.day int32

    Required. Day of month. Must be from 1 to 31 and valid for the year and month.

    start_time.hours int32

    Required. Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.

    start_time.minutes int32

    Required. Minutes of hour of day. Must be from 0 to 59.

    start_time.seconds int32

    Required. Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.

    start_time.nanos int32

    Required. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.

    start_time.utc_offset string

    UTC offset. Must be whole seconds, between -18 hours and +18 hours. For example, a UTC offset of -4:00 would be represented as { seconds: -14400 }.

    start_time.time_zone.id string

    IANA Time Zone Database time zone, e.g. "America/New_York".

    start_time.time_zone.version string

    Optional. IANA Time Zone Database version number, e.g. "2019a".

    end_time.year int32

    Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a datetime without a year.

    end_time.month int32

    Required. Month of year. Must be from 1 to 12.

    end_time.day int32

    Required. Day of month. Must be from 1 to 31 and valid for the year and month.

    end_time.hours int32

    Required. Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.

    end_time.minutes int32

    Required. Minutes of hour of day. Must be from 0 to 59.

    end_time.seconds int32

    Required. Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.

    end_time.nanos int32

    Required. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.

    end_time.utc_offset string

    UTC offset. Must be whole seconds, between -18 hours and +18 hours. For example, a UTC offset of -4:00 would be represented as { seconds: -14400 }.

    end_time.time_zone.id string

    IANA Time Zone Database time zone, e.g. "America/New_York".

    end_time.time_zone.version string

    Optional. IANA Time Zone Database version number, e.g. "2019a".

    page.items_per_page int32

    The number of items per page in the current pagination.

    page.current_page int32

    The current page in the current pagination.

    page.total_items int32

    Output only. The total numbers of the list in the current pagination.

Header Parameters

    x-bv-org-id stringrequired

    To invoke this API using api_token, you need to set the x-bv-org-id header to specify the organization for which you want to perform the action.

Responses

A successful response.

Schema
    audit_logs object[]
  • Array [
  • ip_address string
    org_id string
    account_id string
    email string
    action string
    event_type string
    client_event_time string
    account string
    user_type string
    item_affected object
    content_info object
    id string
    type string
    name string
    account_changed_info object
    target_account_id string
    target_email string
    from_role_id string
    to_role_id string
    target_account string
    changed_details string
  • ]
  • page object
    items_per_page int32

    The number of items per page in the current pagination.

    current_page int32

    The current page in the current pagination.

    total_items int32

    Output only. The total numbers of the list in the current pagination.

Loading...