mirror of
https://github.com/netbirdio/netbird.git
synced 2025-06-20 17:58:02 +02:00
[management] Update traffic events pagination filters (#3857)
This commit is contained in:
parent
c03435061c
commit
24f932b2ce
@ -4300,6 +4300,12 @@ paths:
|
|||||||
required: false
|
required: false
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
|
- name: reporter_id
|
||||||
|
in: query
|
||||||
|
description: Filter by reporter ID
|
||||||
|
required: false
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
- name: protocol
|
- name: protocol
|
||||||
in: query
|
in: query
|
||||||
description: Filter by protocol
|
description: Filter by protocol
|
||||||
@ -4329,7 +4335,7 @@ paths:
|
|||||||
enum: [INGRESS, EGRESS, DIRECTION_UNKNOWN]
|
enum: [INGRESS, EGRESS, DIRECTION_UNKNOWN]
|
||||||
- name: search
|
- name: search
|
||||||
in: query
|
in: query
|
||||||
description: Filters events with a partial match on user email, source and destination names and source and destination addresses
|
description: Case-insensitive partial match on user email, source/destination names, and source/destination addresses
|
||||||
required: false
|
required: false
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
|
@ -1787,6 +1787,9 @@ type GetApiEventsNetworkTrafficParams struct {
|
|||||||
// UserId Filter by user ID
|
// UserId Filter by user ID
|
||||||
UserId *string `form:"user_id,omitempty" json:"user_id,omitempty"`
|
UserId *string `form:"user_id,omitempty" json:"user_id,omitempty"`
|
||||||
|
|
||||||
|
// ReporterId Filter by reporter ID
|
||||||
|
ReporterId *string `form:"reporter_id,omitempty" json:"reporter_id,omitempty"`
|
||||||
|
|
||||||
// Protocol Filter by protocol
|
// Protocol Filter by protocol
|
||||||
Protocol *int `form:"protocol,omitempty" json:"protocol,omitempty"`
|
Protocol *int `form:"protocol,omitempty" json:"protocol,omitempty"`
|
||||||
|
|
||||||
@ -1799,7 +1802,7 @@ type GetApiEventsNetworkTrafficParams struct {
|
|||||||
// Direction Filter by direction
|
// Direction Filter by direction
|
||||||
Direction *GetApiEventsNetworkTrafficParamsDirection `form:"direction,omitempty" json:"direction,omitempty"`
|
Direction *GetApiEventsNetworkTrafficParamsDirection `form:"direction,omitempty" json:"direction,omitempty"`
|
||||||
|
|
||||||
// Search Filters events with a partial match on user email, source and destination names and source and destination addresses
|
// Search Case-insensitive partial match on user email, source/destination names, and source/destination addresses
|
||||||
Search *string `form:"search,omitempty" json:"search,omitempty"`
|
Search *string `form:"search,omitempty" json:"search,omitempty"`
|
||||||
|
|
||||||
// StartDate Start date for filtering events (ISO 8601 format, e.g., 2024-01-01T00:00:00Z).
|
// StartDate Start date for filtering events (ISO 8601 format, e.g., 2024-01-01T00:00:00Z).
|
||||||
|
Loading…
x
Reference in New Issue
Block a user