Description
Obtain the number of screenshot data of a live domain name.
Support query of the daily screenshot number of a single domain name in a specified time range.
Support query of data starting from January 1, 2018. The maximum interval between Starttime and Endtime is 90 days.
Request parameters
Parameters | Type | Required | Example Values | Description |
---|---|---|---|---|
Action | String | Yes | DescribeLiveDomainSnapshotData | The name of this interface name. Value: DescribeLiveDomainSnapshotData |
DomainName | String | Yes | www.livetest.com | The live domain name to be queried. |
StartTime | String | Yes | 2018-01-01T00:00:00Z | Start time of data query.
|
EndTime | String | Yes | 2018-01-02T00:00:00Z | End time of data query.
|
Return parameters
Parameters | Type | Example Values | Description |
---|---|---|---|
SnapshotDataInfos | Daily statistics of the number of live screenshots. | ||
└Date | String | 20180209 | Date, accurate to date. |
└Total | Integer | 110 | Total number of screenshots on a single day. |
RequestId | String | B955107D-E658-4E77-B913-E0AC3D31693F | Request ID. |
Example
Request example
/?Action=DescribeLiveDomainSnapshotData
&DomainName=www.livetest.com
&EndTime=2018-02-09T00:00:00Z
&StartTime=2018-02-10T00:00:00Z
&<Public request parameter>
Normal return example
JSON
format
{
"RequestId":"0B250400-6260-4CBC-85BF-FB0ED3753690",
"SnapshotDataInfos":{
"SnapshotDataInfo":[
{
"Date":"20180209",
"Total":110
},
{
"Date":"20180210",
"Total":310
}
]
}
}
Exception return example
JSON
format
{
"Code":"InvalidEndTime.BeyondCurrent",
"HostId":"live.aliyuncs.com",
"Message":"EndTime beyond current time.",
"RequestId":"D561201C-1192-4BCB-BDA9-AD16AA62F6FD"
}
Error code
For more information about error code of this product, see Error code.