All Products
Search
Document Center

Dynamic Content Delivery Network:DescribeDcdnDomainIpaConnData

Last Updated:Apr 11, 2024

Queries the number of IPA user connections.

Operation description

  • You can call this operation up to 10 times per second per user.
  • If you do not set the StartTime or EndTime parameter, the request returns the data collected in the last 24 hours. If you set both the StartTime and EndTime parameters, the request returns the data collected within the specified time range.
  • The minimum time granularity at which the data is queried is 5 minutes. The maximum time range for a single query is 31 days. The period within which historical data is available is 366 days. The data latency is no more than 10 minutes.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
dcdn:DescribeDcdnDomainIpaConnDataRead
  • Domain
    acs:dcdn:*:{#accountId}:domain/{#domainName}
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
DomainNamestringNo

The domain names accelerated by IPA. Separate multiple domain names with commas (,).

Note If you do not specify this parameter, the merged data of all accelerated domain names is returned.
example1.com
StartTimestringNo

The start 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
EndTimestringNo

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
SplitBystringNo

Specifies how query results are grouped. By default, this parameter is empty. Valid values:

  • domain: Query results are grouped by accelerated domain name.
  • An empty string: Query results are not grouped.
domain

Response parameters

ParameterTypeDescriptionExample
object
EndTimestring

The end of the time range during which data was queried.

2015-02-22T15:00:00Z
StartTimestring

The beginning of the time range during which data was queried.

2015-02-21T15:00:00Z
RequestIdstring

The request ID.

A2A1EEF8-043E-43A1-807C-BEAC18EA1807
ConnectionDataPerIntervalobject []

The number of user connections at each time interval.

TimeStampstring

The timestamp of the data returned.

2022-02-21T15:00:00+08:00
Domainstring

The accelerated domain name.

example1.com
Connectionslong

The number of IPA user connections.

189095

Examples

Sample success responses

JSONformat

{
  "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 codeError codeError messageDescription
400InvalidStartTime.MalformedThe 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.
400InvalidEndTime.MalformedThe 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.
400InvalidEndTime.MismatchThe specified EndTime is earlier than the StartTime.The end time is earlier than the start time.
400InvalidTimeRangeThe 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.
400InvalidStartTime.ValueNotSupportedThe specified StartTime is invalid.The specified start time is invalid.

For a list of error codes, visit the Service error codes.