Skip to main content

Query DB for DEM Site Config (v2.0)

POST 

/v2.0/api/tenants/:tenant_id/demsiteconfigs/query

Query the DB for DEM site configs that match query parameters.

Request

Path Parameters

    tenant_id stringrequired

    ID of the tenant.

Body

Query Details for Dem site configs

    aggregate Aggregate

    Aggregate

    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 (ref.doc.key:0:Aggregate.field)

    name string

    The name of the query response.

    operator string

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

    Operator (ref.doc.key:0:Aggregate.operator)

    statistic string

    QoS application aggregate statistics.

    unit string

    The unit.

    dest_page int32

    Dest Page

    getDeleted boolean

    GetDeleted

    group_by string[]

    Group By

    id string

    Id

    last_query_ts int64

    Last Query Ts

    limit int32

    Limit

    next_query object
    query_params object
    retrieved_fields string[]

    Retrieved Fields

    retrieved_fields_mask boolean

    Retrieved Fields Mask

    sort_params object
    total_count int64

    Total Count

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 DemSiteConfigQueryFilter[]
  • Array [
  • adem_enabled boolean

    Adem Enabled

    id string

    Id

    site_id stringrequired

    Site Id: Digits(fraction = 0, integer = 50, SITEID_INVALID) NotNull

    tenant_id stringrequired

    Tenant Id: NotNull Digits(fraction = 0, integer = 20, TENANT_ID_INVALID_0001)

  • ]
Loading...