Common request parameters must be included in all API requests.
Common request parameters
The following public request parameters apply to calling EMR APIs by sending GET requests through URLs.
Parameter | Type | Required | Description |
---|---|---|---|
Action | String | Yes | The operation that you want to perform. For more information, see List of operations by function. |
Version | String | Yes | The version number of the API. Format: YYYY-MM-DD. The current version is 2016-04-08. |
AccessKeyId | String | Yes | The AccessKey ID provided to you by Alibaba Cloud. |
Signature | String | Yes | The signature string of the current request. For more information about how signatures are calculated, see Sign signatures. |
SignatureMethod | string | Yes | The encryption method of the signature string. Set the value to HMAC-SHA1. |
Timestamp | String | Yes | The timestamp of the request. Specify the time in the ISO 8601 standard. The time must be in UTC. YYYY-MM-DDThh:mm:ssZ format. The time is displayed in UTC. For example, 2013-08-15T12:00:00Z indicates 20:00:00 on August 15, 2013 (Beijing time). |
SignatureVersion | String | Yes | The version number of the signature encryption algorithm. Set the value to 1.0. |
SignatureNonce | String | Yes | A unique, random number that is used to prevent replay attacks. You must use different numbers for different requests. |
Format | String | No | The type of the returned parameter. Valid values:
|
Sample requests
https://emr.aliyuncs.com/?Action=<API Name>
?Format=xml
&Version=2016-04-08
&Signature=Pc5WB8gokVn0xfeu%2FZV%2BiNM1dg****
&SignatureMethod=HMAC-SHA1
&SignatureNonce=15215528852396
&SignatureVersion=1.0
&AccessKeyId=key-test
&OwnerId=12345678
&Timestamp=2014-10-10T12:00:00Z
...
Common response parameters
Parameter | Type | Description |
---|---|---|
RequestId | String | The ID of the request. This parameter is returned regardless of whether the call is successful. |