Queries statistics on update messages in a data table of an instance.
Operation description
You can call this API operation to query statistics on update messages in a specified data table of a specified instance.
Debugging
Authorization information
Request syntax
GET /v2/openapi/instances/{instanceId}/tables/{table}/data-message-statistics
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
instanceId | string | Yes | The instance ID. | airec-cn-o400whm78004 |
startTime | long | Yes | The start time. The value is a timestamp in seconds. | 1586673466 |
endTime | long | Yes | The end time. The value is a timestamp in seconds. | 1586673466 |
table | string | Yes | The name of the table. Valid values: item and user. | item |
cmdType | string | No | The type of the operation. Valid values: update, delete, and add. | update |
itemId | string | No | The ID of the item. This parameter is required when the value of table is set to item. | 111 |
itemType | string | No | The type of the item. This parameter is required when the value of table is set to item. | video |
userId | string | No | The ID of the user. This parameter is required when the value of table is set to user. | 222 |
userType | string | No | The type of the user. This parameter is required when the value of table is set to user. | app |
traceId | string | No | The event tracking ID. | Alibaba |
sceneId | string | No | The scene ID. | test |
bhvType | string | No | The type of behaviors. Valid values: expose, click, like, comment, collect, stay, cart, buy, and evaluate. | expose |
messageSource | string | No | The source of the operation. Valid values: CONSOLE and FEEDER. | FEEDER |
Response parameters
Examples
Sample success responses
JSON
format
{
"code": "InternalServerError",
"result": {
"test": "test",
"test2": 1
},
"message": "An internal server error occurred",
"requestId": "8F81A922-6C81-46D6-B78C-CC35E16B1691"
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|