Call the DescribeDcdnDomainIpaConnData operation to query the number of connections for IP Application Accelerator (IPA).
Operation description
The call frequency for a single user is 10 calls per second.
If you do not specify the StartTime and EndTime parameters, data from the last 24 hours is returned. If you specify StartTime and EndTime, data in the specified time range is returned.
The minimum time granularity is 5 minutes. The maximum time range for a single query is 31 days. You can query data from the last 366 days. Data has a latency of up to 10 minutes.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dcdn:DescribeDcdnDomainIpaConnData |
get |
*Domain
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DomainName |
string |
No |
The accelerated domain name for the IPA application. To specify multiple domain names, separate them with commas (,). Note
If you leave this parameter empty, the merged data for all accelerated domain names is returned. |
example1.com |
| StartTime |
string |
No |
The beginning of the time range to query. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. |
2015-02-21T07:00:00Z |
| EndTime |
string |
No |
The end of the time range to query. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. Note
The end time must be later than the start time. |
2015-02-22T7:00:00Z |
| SplitBy |
string |
No |
The method to group the data. Valid values:
|
domain |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| EndTime |
string |
The end of the time range that was queried. |
2015-02-22T15:00:00Z |
| StartTime |
string |
The beginning of the time range that was queried. |
2015-02-21T15:00:00Z |
| RequestId |
string |
The ID of the request. |
A2A1EEF8-043E-43A1-807C-BEAC18EA1807 |
| ConnectionDataPerInterval |
object |
||
| DataModule |
array<object> |
The number of connections in each time interval. |
|
|
object |
|||
| TimeStamp |
string |
The start time of the time interval. |
2022-02-21T15:00:00+08:00 |
| Domain |
string |
The accelerated domain name. |
example1.com |
| Connections |
integer |
The number of connections for IPA. |
189095 |
Examples
Success response
JSON format
{
"EndTime": "2015-02-22T15:00:00Z",
"StartTime": "2015-02-21T15:00:00Z",
"RequestId": "A2A1EEF8-043E-43A1-807C-BEAC18EA1807",
"ConnectionDataPerInterval": {
"DataModule": [
{
"TimeStamp": "2022-02-21T15:00:00+08:00",
"Domain": "example1.com",
"Connections": 189095
}
]
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidStartTime.Malformed | The specified StartTime parameter is invalid. | The format of the specified start time is invalid. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. |
| 400 | InvalidEndTime.Malformed | The specified EndTime is invalid. | The format of the specified end time is invalid. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. |
| 400 | InvalidEndTime.Mismatch | The specified EndTime is earlier than the StartTime. | The end time is earlier than the start time. |
| 400 | InvalidTimeRange | The time span between the StartTime and the EndTime cannot exceed 31 days. | The different between the end time (EndTime) and start time (StartTime) cannot exceed 31 days. |
| 400 | InvalidStartTime.ValueNotSupported | The specified StartTime is invalid. | The specified start time is invalid. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.