Common request parameters

Common request parameters are shared by each API.

Name Type Required Description
Format String No The format of the response text. Currently, only the JSON format is supported.
Version String Yes The API version, in the format of YYYY-MM-DD. The current version is 2017-12-04.
AccessKeyId String Yes An alphanumeric token that Alibaba Cloud issues for user authentication during API invocation.
Signature String Yes The signature value. For more information about how to calculate the signature value, see Signature.
SignatureMethod String Yes The method for calculating the signature value. Currently, HMAC-SHA1 is supported.
Timestamp String Yes The date and time at which a request is sent. The ISO 8601 UTC time format is used. The format is YYYY-MM-DDThh:mm:ssZ. Example: 2014-05-26T12:00:00Z.
SignatureVersion String Yes The signature algorithm version. The current version is 1.0.
SignatureNonce String Yes A unique random number. This parameter is used to prevent replay attacks. You must use different random numbers for different requests.

Example

http://actiontrail.cn-hangzhou.aliyuncs.com/actiontrail
? SignatureVersion=1.0
&OssBucketName=yuanch****
&Name=CreateTest
&Format=JSON
&Timestamp=2015-12-01T07%3A04%3****
&Signature=iyEsE7vgGUWop7Term5HM48wzJ****
&AccessKeyId=QzW2********C21M
&SignatureMethod=HMAC-SHA1
&Version=2017-12-04
&RoleName=aliyunactiontraildefaultrole
&Action=CreateTrail
&SignatureNonce=c69b30de-97f9-11e5-afb0-7831c1c8****
&OssKeyPrefix=
			

Common response parameters

If the API was called successfully, the execution result is returned. If the API invocation failed, RequestId is returned. Currently, only the JSON format is supported.

Example

JSON format

{
  "Name": "CreateTest",
  "OssBucketName": "yuanch****",
  "OssKeyPrefix": "",
  "RoleName": "aliyunactiontraildefaultrole"
}