Skip to main content

Query Prefix Set (3.0)

POST 

/v3.0/api/tenants/:tenant_id/prefixes/query

Query the prefix set.

Request

Path Parameters

    tenant_id stringrequired

    The tenant ID.

Body

Query Details for prefixes

    aggregate Aggregate

    The aggregate number of prefix sets that match the query parameters.

    data AggregateData[]

    The details of the aggregate data.

  • Array [
  • value number

    Value of the aggregate data.

    view object

    View the aggregate date.

  • ]
  • field string

    Field

    name string

    The name of the query response.

    operator string

    Possible values: [max, count, min, avg, sum]

    Operator

    statistic string

    QoS application aggregate statistics.

    unit string

    The unit.

    dest_page int32

    The destination page.

    ge integer
    getDeleted boolean

    The number prefix sets deleted for a time frame.

    group_by string[]

    Group the prefix sets for the query.

    id string

    List the prefix sets by ID.

    ipv4_prefix string

    Ipv4 Prefix

    last_query_ts int64

    Return the ID of a specified query in the current session.

    le integer
    limit int32

    The query limit.

    next_query object

    The limit.

    query_params object

    Query using query parameters.

    retrieved_fields string[]

    Retrieve information from a field.

    retrieved_fields_mask boolean

    List the fields to query.

    sort_params object

    Specify the order in which you want the search criteria to display.

    total_count int64

    The total number of query parameters.

Responses

Successful Operation

Schema
    count int32

    The actual count.

    deleted_count int64

    The deleted number.

    deleted_ids string[]

    The deleted IDs.

    description

    Description of the query. Max size = 256.

    id string

    The ID.

    next_query object

    Details of the next query.

    tenant_id string

    The tenant ID.

    total_count int64

    Total number.

    items PrefixQueryFilterV3[]
  • Array [
  • element_id string

    The element ID.

    ipv4_prefix string

    The IPv4 address prefix.

    resource_id string

    The resource ID.

    resource_type string

    Possible values: [static_route, interface, lan_network, BGP]

    The resource type.

    scope string

    Possible values: [GLOBAL, LOCAL]

    The prefix scope.

    site_id stringrequired

    The site ID.

  • ]
Loading...