Public Request Parameters

Last updated: 2020-06-05 20:05:47


This is a legacy API which has been hidden and will no longer be updated. We recommend using the new CDN API 3.0 which is standardized and faster.

Common request parameters are the parameters common to all APIs, and will not be discussed in the document for each API unless it is necessary to do so. They are required in each request for the request to be initiated normally. The first letter of each common request parameter is uppercase so that the parameter can be differentiated from API-specific request parameters.

Common request parameters are listed as follows:

Name Type Description Required
Action String The name of the API for the desired operation. For example, if you want to call the API of Query Domain Information, the Action parameter is DescribeCdnHosts. Yes
Region String Identify the region to which the instance you want to operate belongs. The parameter values for regions are as follows: Beijing: bj, Guangzhou: gz, Shanghai: sh, Hong Kong: hk, North America: ca. ** Note: CDN is not region-specific, so this parameter is not required. ** No
Timestamp UInt The current UNIX timestamp that records the time at which the API request was initiated. Yes
Nonce UInt A random positive integer that is used in conjunction with Timestamp to prevent replay attacks. Yes
SecretId String SecretId for identifying identity that is applied for on Cloud API Key. A SecretId corresponds to a unique SecretKey, which is used to generate the request Signature. Yes
Signature String Request signature used to verify the legitimacy of the request and automatically generated by system according to input parameters. Yes

Assuming that the user wants to query the list of all domains connected to CDN, the request link may be as follows:
&<API Request Parameters>

A complete request needs two types of request parameters: common request parameters and API request parameters. Only five common request parameters are listed above (Region parameter is not required).

Was this page helpful?

Was this page helpful?

  • Not at all
  • Not very helpful
  • Somewhat helpful
  • Very helpful
  • Extremely helpful
Send Feedback