Retrieves the download URLs of offline logs for live stream relay by calling DescribeLivePushProxyLog.
Operation description
Data time granularity: 1 hour.
Maximum query range: data from the last 31 days.
If you do not specify StartTime or EndTime, this operation reads data from the last 24 hours by default. If you specify StartTime and EndTime, data is queried based on the specified time range.
QPS limit
The QPS limit for a single user on this operation is 100 calls per second. If the limit is exceeded, API invocations are throttled, which may affect your business. Invoke this operation as needed.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
live:DescribeLivePushProxyLog |
*Domain
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region ID. |
cn-shanghai |
| DomainName |
string |
Yes |
The ingest domain. Multi-domain queries are not supported. |
example.com |
| PageSize |
integer |
No |
The page size. Valid values: [1, 1000]. Default value: 300. |
300 |
| PageNumber |
integer |
No |
The page number. Default value: 1. Valid values: [1, 9223372036854775807]. |
2 |
| StartTime |
string |
No |
The beginning of the time range to query logs. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. |
2023-09-20T08:00:00Z |
| EndTime |
string |
No |
The end of the time range to query logs. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. |
2023-09-20T09:00:00Z |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| DomainLogDetails |
object |
||
| DomainLogDetail |
array<object> |
The data that consists of DomainLogDetail entries. |
|
|
array<object> |
The data that consists of DomainLogDetail entries. |
||
| LogCount |
integer |
The total number of entries returned on the current page. |
10 |
| LogInfos |
object |
||
| LogInfoDetail |
array<object> |
An array of `LogInfoDetail` objects. |
|
|
object |
An array of `LogInfoDetail` objects. |
||
| EndTime |
string |
The end time. The value is a UNIX timestamp. |
1695189600 |
| LogName |
string |
The log name. |
example.com _2023_09_20_160000_170000.****.gz |
| LogPath |
string |
The log path. |
****.aliyuncs.com/push_proxy/****/example.com/2023_09_20/1600/example.com _2023_09_20_160000_170000.****.gz |
| LogSize |
integer |
The log size. |
512 |
| StartTime |
string |
The start time. The value is a UNIX timestamp. |
1695193200 |
| PageInfos |
object |
Paging information. |
|
| PageIndex |
integer |
The page number. |
1 |
| PageSize |
integer |
The number of entries per page. |
20 |
| Total |
integer |
The total number of entries. |
20 |
| DomainName |
string |
The ingest domain. |
example.com |
| RequestId |
string |
The request ID. |
CF60DB6A-7FD6-426E-9288-122CC1A52FA7 |
Examples
Success response
JSON format
{
"DomainLogDetails": {
"DomainLogDetail": [
{
"LogCount": 10,
"LogInfos": {
"LogInfoDetail": [
{
"EndTime": "1695189600",
"LogName": "example.com\n_2023_09_20_160000_170000.****.gz",
"LogPath": "****.aliyuncs.com/push_proxy/****/example.com/2023_09_20/1600/example.com\n_2023_09_20_160000_170000.****.gz",
"LogSize": 512,
"StartTime": "1695193200"
}
]
},
"PageInfos": {
"PageIndex": 1,
"PageSize": 20,
"Total": 20
}
}
]
},
"DomainName": "example.com",
"RequestId": "CF60DB6A-7FD6-426E-9288-122CC1A52FA7"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidStartTime.Malformed | Specified StartTime is malformed. | |
| 400 | InvalidEndTime.Malformed | Specified EndTime is malformed. | |
| 400 | InvalidStartTime.ValueNotSupported | The specified value of parameter StartTime is not supported. | The value specified for the StartTime parameter is invalid. |
| 400 | Invalid Parameter | The specified Invalid Parameter | |
| 400 | Internal Error | Internal Error contact admin |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.