API Request Parameters

Last updated: 2020-06-05 20:17:11


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

API request parameters vary with different APIs. The initial letter of each API request parameter is in lowercase so that it can be differentiated from common request parameters.
For example, for the API OnlineDsaHost used to enable a DSA domain name, the supported API request parameters are as follows:

Parameter Require Type Description
hostId Yes Unsigned ID of the domain name connected to DSA

The attributes of the parameter are described as follows:

Parameter Name The request parameter name supported by the API. You can use it as an API request parameter when calling the API.
Note: A parameter name ending with ".n" represents an array, for which you need to input the array members individually.
Required Indicates whether this parameter is required.
"Yes" means the parameter is required when you call the API.
"No" means the parameter can be left empty.
If all the API request parameters are not required, the API can be called simply by using common request parameters.
Type Data type of the API parameter.
Description A brief description of the API request parameter and the API calling.

If you want to enable a domain name with the hostId (which can be obtained via the API Query List of Domain Names being 12345, the request link should look like this:

&<Common request parameters>

A complete request requires two types of request parameters: common request parameters and API request parameters. Only API request parameters are listed above. For more information on common request parameters, please see Common Request Parameters section.

Was this page helpful?

Was this page helpful?

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