Domain name for API request: trtc.intl.tencentcloudapi.com.
This API (the old DescribeAbnormalEvent) is used to query up to 20 random abnormal user experiences of an application (SDKAppID) in the last 14 days. The start and end time can be on two different days, but they cannot be more than one hour apart.
For details about the error events, see https://www.tencentcloud.com/document/product/647/44916?from_cn_redirect=1
Note:
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| Action | Yes | String | Common Params. The value used for this API: DescribeUnusualEvent. |
| Version | Yes | String | Common Params. The value used for this API: 2019-07-22. |
| Region | Yes | String | Common Params. For more information, please see the list of regions supported by the product. This API only supports: ap-beijing, ap-guangzhou, ap-singapore. |
| SdkAppId | Yes | Integer | User SdkAppId (for example: 1400xxxxxx). |
| StartTime | Yes | Integer | Query start time, local unix timestamp, in seconds (for example: 1590065777). Note: support querying data within the last 14 days. |
| EndTime | Yes | Integer | Query end time, local unix timestamp, in seconds (for example, 1590065877). note: the time interval from StartTime should be no more than 1 hour. |
| RoomId | No | String | Room number. query up to 20 abnormal experience events in the room. |
| Parameter Name | Type | Description |
|---|---|---|
| Total | Integer | Total number of returned data entries. Value range: [0, 20]. |
| AbnormalExperienceList | Array of AbnormalExperience | Abnormal experience list. |
| RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
POST / HTTP/1.1
Host: trtc.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeUnusualEvent
<Common request parameters>
{
"StartTime": 1590065777,
"SdkAppId": 1400188366,
"EndTime": 1590065877,
"RoomId": "461"
}
{
"Response": {
"AbnormalExperienceList": [
{
"UserId": "itachi3",
"RoomId": "461",
"EventTime": 1592448600,
"ExperienceId": 4,
"AbnormalEventList": [
{
"AbnormalEventId": 2011,
"PeerId": ""
},
{
"AbnormalEventId": 2012,
"PeerId": ""
}
]
},
{
"UserId": "itachili1",
"RoomId": "461",
"EventTime": 1592448600,
"ExperienceId": 4,
"AbnormalEventList": [
{
"AbnormalEventId": 2011,
"PeerId": ""
},
{
"AbnormalEventId": 2012,
"PeerId": ""
}
]
},
{
"UserId": "itachi3",
"RoomId": "461",
"EventTime": 1592448660,
"ExperienceId": 4,
"AbnormalEventList": [
{
"AbnormalEventId": 2011,
"PeerId": ""
},
{
"AbnormalEventId": 2012,
"PeerId": ""
}
]
},
{
"UserId": "itachi3",
"RoomId": "461",
"EventTime": 1592448720,
"ExperienceId": 4,
"AbnormalEventList": [
{
"AbnormalEventId": 2011,
"PeerId": ""
},
{
"AbnormalEventId": 2012,
"PeerId": ""
}
]
},
{
"UserId": "itachi3",
"RoomId": "461",
"EventTime": 1592448780,
"ExperienceId": 4,
"AbnormalEventList": [
{
"AbnormalEventId": 2011,
"PeerId": ""
},
{
"AbnormalEventId": 2012,
"PeerId": ""
}
]
},
{
"UserId": "itachi3",
"RoomId": "461",
"EventTime": 1592448600,
"ExperienceId": 4,
"AbnormalEventList": [
{
"AbnormalEventId": 2014,
"PeerId": ""
},
{
"AbnormalEventId": 2021,
"PeerId": ""
},
{
"AbnormalEventId": 2022,
"PeerId": ""
},
{
"AbnormalEventId": 2011,
"PeerId": "itachili1"
},
{
"AbnormalEventId": 2012,
"PeerId": "itachili1"
}
]
},
{
"UserId": "itachi3",
"RoomId": "461",
"EventTime": 1592448600,
"ExperienceId": 5,
"AbnormalEventList": [
{
"AbnormalEventId": 2014,
"PeerId": ""
}
]
},
{
"UserId": "itachi3",
"RoomId": "461",
"EventTime": 1592448660,
"ExperienceId": 4,
"AbnormalEventList": [
{
"AbnormalEventId": 2014,
"PeerId": ""
},
{
"AbnormalEventId": 2021,
"PeerId": ""
},
{
"AbnormalEventId": 2022,
"PeerId": ""
}
]
},
{
"UserId": "itachi3",
"RoomId": "461",
"EventTime": 1592448660,
"ExperienceId": 5,
"AbnormalEventList": [
{
"AbnormalEventId": 2014,
"PeerId": ""
}
]
},
{
"UserId": "itachi3",
"RoomId": "461",
"EventTime": 1592448720,
"ExperienceId": 4,
"AbnormalEventList": [
{
"AbnormalEventId": 2014,
"PeerId": ""
},
{
"AbnormalEventId": 2021,
"PeerId": ""
},
{
"AbnormalEventId": 2022,
"PeerId": ""
}
]
},
{
"UserId": "itachi3",
"RoomId": "461",
"EventTime": 1592448720,
"ExperienceId": 5,
"AbnormalEventList": [
{
"AbnormalEventId": 2014,
"PeerId": ""
}
]
}
],
"Total": 11,
"RequestId": "75a3a17f-ca35-4cc8-b42f-2ebb8903b6a7"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
| Error Code | Description |
|---|---|
| InternalError | Internal error. |
| InternalError.DBError | An error occurred while querying the database. |
| InternalError.EsQueryError | An error occurred during an ES query. |
| InternalError.HttpParaseFalied | Failed to parse the HTTP request. |
| InternalError.InterfaceErr | API error. |
| InternalError.MethodErr | Unsupported method. |
| InvalidParameter | Parameter error. |
| InvalidParameter.BodyParamsError | Failed to parse body parameters. |
| InvalidParameter.EncodeParams | Invalid EncodeParams. |
| InvalidParameter.QueryScaleOversize | The query period exceeds the limit. |
| InvalidParameter.SdkAppId | SdkAppId is incorrect. |
| InvalidParameter.SdkAppid | Inoperable SdkAppid. |
| InvalidParameter.StartTimeExpire | The start time for query exceeded the limit. |
| InvalidParameter.StartTs | Invalid StartTs. |
| InvalidParameter.StartTsOversize | The start time for query exceeded the limit. |
| MissingParameter | Missing parameter. |
| MissingParameter.EndTs | endTS_s is missing. |
| MissingParameter.SdkAppId | SdkAppId is missing. |
| MissingParameter.StartTs | startTS_s is missing. |
Was this page helpful?
You can also Contact sales or Submit a Ticket for help.
Help us improve! Rate your documentation experience in 5 mins.
Feedback