Description
Queries details about real-time data in an hourly report.
Method
GET
URI
/openapi/instances/{instanceId}/sync-reports/detail
Request parameters
Parameter | Type | Required | Description |
---|---|---|---|
startTime | Long | Yes | The start time. The value of the parameter must be the exact beginning of an hour and must be accurate to the second. |
endTime | Long | Yes | The end time. The value of the parameter must be the exact beginning of an hour and must be accurate to the second. |
type | String | Yes | Valid values: behavior, item, and user. |
levelType | String | Yes | Valid values: error, warn, and info. |
Response parameters
Parameter | Type | Description |
---|---|---|
RequestId | String | The ID of the request. |
Result | Map | The result that is returned. |
Sample requests
GET /openapi/instances/airec-cn-xxxxxx/sync-reports/detail?startTime=xxx&endTime=xxx&type=behaivor
Sample responses
{
"Result": {
"Total": {
"ErrorPercent": 84.6,
"TotalCount": 290993,
"ErrorCount": 246165,
"StartTime": 1567152000,
"EndTime": 1567155600
},
"Detail": [
{
"Type": "userIdBehavior",
"ErrorPercent": 0,
"ErrorCount": 100,
"History": [
{
"ErrorPercent": 0,
"StartTime": 1567119600,
"EndTime": 1567123200
},
{
"ErrorPercent": 0,
"StartTime": 1567119600,
"EndTime": 1567123200
},
...
]
},
{
"Type": "userIdBehavior",
"ErrorPercent": 0,
"ErrorCount": 100,
"History": [
{
"ErrorPercent": 0,
"StartTime": 1567119600,
"EndTime": 1567123200
},
{
"ErrorPercent": 0,
"StartTime": 1567119600,
"EndTime": 1567123200
},
...
]
}
]
},
"RequestId": "AD3BCF47-2A4C-44DD-B6B7-CC2F2BCB1DB9"
}