All Products
Search
Document Center

:ListDashboardMetricsFlows

Last Updated:Mar 01, 2024

Queries the traffic data of a specified instance on the dashboard.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request syntax

GET /v2/openapi/instances/{instanceId}/dashboard/metrics/flows

Request parameters

ParameterTypeRequiredDescriptionExample
instanceIdstringYes

The type of the metric. Valid values:

USER_ACTION_PV_COUNT: the number of page views

USER_ACTION_UV_COUNT: the number of unique views

USER_ACTION_PV_RATIO: the conversion rate

USER_ACTION_UV_RATIO: the traffic consumed per person

airec-cn-o400whm78004
startTimelongYes

The statistical results.

1586673466
endTimelongYes

The type of the metric.

1586673466
metricTypestringYes

The metric data.

The error code.

Response parameters

ParameterTypeDescriptionExample
object
resultobject []

The ID of the request.

metricTypestring

The error message.

xxx
metricDataobject

null

xxx

Examples

Sample success responses

JSONformat

{
  "result": [
    {
      "metricType": "xxx",
      "metricData": {
        "test": "test",
        "test2": 1
      }
    }
  ],
  "code": "InternalServerError",
  "requestId": "8F81A922-6C81-46D6-B78C-CC35E16B1691",
  "message": "An internal server error occurred"
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history