All Products
Search
Document Center

:QueryDataMessageStatistics

Last Updated:Mar 01, 2024

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

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}/tables/{table}/data-message-statistics

Request parameters

ParameterTypeRequiredDescriptionExample
instanceIdstringYes

The instance ID.

airec-cn-o400whm78004
startTimelongYes

The start time. The value is a timestamp in seconds.

1586673466
endTimelongYes

The end time. The value is a timestamp in seconds.

1586673466
tablestringYes

The name of the table. Valid values: item and user.

item
cmdTypestringNo

The type of the operation. Valid values: update, delete, and add.

update
itemIdstringNo

The ID of the item. This parameter is required when the value of table is set to item.

111
itemTypestringNo

The type of the item. This parameter is required when the value of table is set to item.

video
userIdstringNo

The ID of the user. This parameter is required when the value of table is set to user.

222
userTypestringNo

The type of the user. This parameter is required when the value of table is set to user.

app
traceIdstringNo

The event tracking ID.

Alibaba
sceneIdstringNo

The scene ID.

test
bhvTypestringNo

The type of behaviors. Valid values: expose, click, like, comment, collect, stay, cart, buy, and evaluate.

expose
messageSourcestringNo

The source of the operation. Valid values:

CONSOLE and FEEDER.

FEEDER

Response parameters

ParameterTypeDescriptionExample
object
codestring

The error code.

InternalServerError
resultobject

The returned result.

xxx
messagestring

The error message.

An internal server error occurred
requestIdstring

The request ID.

8F81A922-6C81-46D6-B78C-CC35E16B1691

Examples

Sample success responses

JSONformat

{
  "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 timeSummary of changesOperation
No change history