Queries the stream ingest status codes for an ingest domain within a specified time range.
Operation description
This operation is a monitoring data API. The data collection and processing method differs from billing and cannot be used to calculate usage for reconciliation purposes.
You can query data from the last 90 days.
Data is delayed by 3 to 5 minutes.
QPS limit
The QPS limit for a single user is 10 calls per second. If the limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
live:DescribeLiveDomainPublishErrorCode |
get |
*Domain
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region ID. |
cn-shanghai |
| DomainName |
string |
No |
The ingest domain. You can specify multiple ingest domains. Separate multiple domain names with commas (,). Note
This parameter is required. |
example1.aliyundoc.com,example2.aliyundoc.com |
| AppName |
string |
No |
Filters and aggregates data by AppName. If you specify AppName, you must set DomainName to a specific ingest domain. |
AppName |
| StartTime |
string |
No |
The start time. Specify the time in the yyyy-MM-ddTHH:mm:ssZ format (UTC). Note
If you do not set this parameter, data from the last hour is queried by default. |
2016-06-29T09:00:00Z |
| EndTime |
string |
No |
The end time. Specify the time in the yyyy-MM-ddTHH:mm:ssZ format (UTC). Note
If you do not set this parameter, data from the last hour is queried by default. |
2016-06-29T09:10:00Z |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| DataInterval |
string |
The time granularity of the queried data. Unit: seconds. Default value: 60. |
60 |
| DomainName |
string |
The ingest domain. |
example1.aliyundoc.com,example2.aliyundoc.com |
| EndTime |
string |
The end time. The time is in the yyyy-MM-ddTHH:mm:ssZ format (UTC). |
2016-06-29T09:10:00Z |
| RealTimeCodeData |
array<object> |
The status code distribution data for each time interval. |
|
|
array<object> |
The status code distribution data for each time interval. |
||
| CodeData |
array<object> |
The list of status code distribution data. |
|
|
object |
The list of status code distribution data. |
||
| Code |
string |
The HTTP status code. Valid values:
|
200 |
| Count |
string |
The total number of the HTTP status codes returned. |
20 |
| Proportion |
string |
The proportion of the HTTP status code. |
66.04 |
| TimeStamp |
string |
The start time of the time interval. The time is in the yyyy-MM-ddTHH:mm:ssZ format (UTC). |
2016-06-29T09:01:00Z |
| RequestId |
string |
The request ID. |
BC858082-736F-4A25-867B-E5B67C****** |
| StartTime |
string |
The start time. The time is in the yyyy-MM-ddTHH:mm:ssZ format (UTC). |
2016-06-29T09:00:00Z |
Examples
Success response
JSON format
{
"DataInterval": "60",
"DomainName": "example1.aliyundoc.com,example2.aliyundoc.com",
"EndTime": "2016-06-29T09:10:00Z",
"RealTimeCodeData": [
{
"CodeData": [
{
"Code": "200",
"Count": "20",
"Proportion": "66.04"
}
],
"TimeStamp": "2016-06-29T09:01:00Z"
}
],
"RequestId": "BC858082-736F-4A25-867B-E5B67C******",
"StartTime": "2016-06-29T09:00:00Z"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.