Get TopN Overview Data

get

/api/metric/TopNData

Gets the TopN overview data for the objects specified in the query parameters.

Request

Query Parameters
  • The device group to get TopN overview data for.
    Example:
    //Root//Oracle Lab -  test
  • The ID of the metric group to get TopN overview data for.
    Example:
    0
  • The ID of the metric type to get TopN overview data for.
    Example:
    0
  • The number of records to include per page.
    Example:
    10
  • Start Time
    Match All
    • StartTime in epoch time seconds
      Example: now
  • Stop Time
    Match All
    • StopTime in epoch time seconds
      Example: now
  • A shorthand string that encompasses StartTime and StopTime. Overwrites any value set for StartTime and StopTime.
    Match All
    • Shorthand string that encompasses the start and end times in RFC3339 format or relative time literal format. It will take precedence over StartTime if both are passed in.
      Example: now-24h..now

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

Successful operation
Body ()
Root Schema : schema
Match All
Show Source
Nested Schema : SuccessfulGetOperation
Type: object
The response body for a successful get operation.
Show Source
Nested Schema : type
Type: object
Show Source
Nested Schema : data
Type: array
Each element is a different data set described by the title.
Show Source
Nested Schema : metricTopNDataRead
Type: object
Show Source
Nested Schema : StoreData
Type: object
Show Source
Nested Schema : items
Type: array
Each record is a row of TopN data.
Show Source
Nested Schema : items
Type: object
Show Source

Default Response

Failed operation
Body ()
Root Schema : schema
Type: object
Show Source
Nested Schema : errors
Type: array
The list of errors reported. Validation errors will be keyed by record field.
Show Source
Nested Schema : items
Type: object
An error.
Back to Top