All Products
Search
Document Center

Web Application Firewall:DescribeVisitUas

Last Updated:Jul 24, 2024

Queries the top 10 user agents that are used to initiate requests.

Debugging

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

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
StartTimestampstringYes

The beginning of the time range to query. Unit: seconds.

1665331200
EndTimestampstringNo

The end of the time range to query. Unit: seconds. If you do not specify this parameter, the current time is used.

1665386280
ResourcestringNo

The protected object.

www.aliyundoc.com
InstanceIdstringYes

The ID of the Web Application Firewall (WAF) instance.

Note You can call the DescribeInstance operation to obtain the ID of the WAF instance.
waf_cdnsdf3****
RegionIdstringNo

The region where the WAF instance resides. Valid values:

  • cn-hangzhou: the Chinese mainland
  • ap-southeast-1: outside the Chinese mainland.
cn-hangzhou

Response parameters

ParameterTypeDescriptionExample
object

The returned result.

RequestIdstring

The ID of the request.

2847CE98-AFAE-5A64-B80E-60461717F9DE
Uasarray<object>

The array of the top 10 user agents that are used to initiate requests.

object

The information about the user agent that is used to initiate requests.

Uastring

The user agent.

chrome
Countlong

The number of requests that use the user agent.

698455

Examples

Sample success responses

JSONformat

{
  "RequestId": "2847CE98-AFAE-5A64-B80E-60461717F9DE",
  "Uas": [
    {
      "Ua": "chrome",
      "Count": 698455
    }
  ]
}

Error codes

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

Change history

Change timeSummary of changesOperation
2023-04-18The internal configuration of the API is changed, but the call is not affectedView Change Details