Common request parameters are the request parameters that every API operation must use.
Common request parameters
Parameter | Type | Required | Description |
---|---|---|---|
Format | String | Yes | The format of the data to return. Valid values: JSON and XML. Default value: XML. |
Version | String | Yes | The version number of the API. Specify the version number in the YYYY-MM-DD format. The current version is 2015-01-01. |
AccessKeyId | String | Yes | The AccessKey ID that Alibaba Cloud provides for you to access services. |
Signature | String | Yes | The signature string. For more information about the signature calculation method, see Digital signature. |
SignatureMethod | String | Yes | The signature method. Currently, HMAC-SHA1 is supported. |
Timestamp | String | Yes |
The timestamp at which you send the request. Specify the time in the ISO 8601 standard
in the |
SignatureVersion | String | Yes | The version of the signature algorithm. The current version is 1.0. |
SignatureNonce | String | Yes | The unique random number that is used to prevent replay attacks. You must use a different random number for each request. |
Example
https://r-kvstore.aliyuncs.com/
? Format=json
&Version=2015-01-01
&Signature=Pc5WB8gokVn0xfeu%2FZV%2BiNM1dgI%3D
&SignatureMethod=HMAC-SHA1
&SignatureNonce=15215528852396
&SignatureVersion=1.0
&AccessKeyId=key-test
&Timestamp=2016-01-01T12:00:00Z
Common response parameters
When you call an operation, the system returns the globally unique identifier (GUID) of the request through the RequestId parameter, regardless of whether the request is successful.
Example
<? xml version="1.0" encoding="utf-8"? >
<!--The root node of the response-->
<API operation name + Response>
<!--The returned request tag-->
<RequestId>4C4fdsf38-3910-447D-87AD-AC078932216</RequestId>
<!--The returned result-->
</API operation name + Response>