edit-icon download-icon

Common parameters

Last Updated: Jul 31, 2018

Common request parameters

Name Type Required Description
Format String No The format of the response text, which is JSON.
Version String Yes The API version in the format YYYY-MM-DD.
The current version is 2017-12-04.
AccessKeyId String Yes An alphanumeric token issued by Alibaba Cloud for user authentication.
Signature String Yes Signing requests.
For more information, see Signature .
SignatureMethod String Yes The hash algorithm to create the request signature.
HMAC-SHA1 is used.
Timestamp String Yes The date and time at which a request is signed, in the format YYYY-MM-DDThh:mm:ssZ.
Example: 2014-05-26T12:00:00Z
SignatureVersion String Yes The signature version used to sign a request. The current version is 1.0.
SignatureNonce String Yes A random number used to prevent replay attacks.
Each request must use a different number.

Example

  1. http://actiontrail.cn-hangzhou.aliyuncs.com/actiontrail
  2. ?SignatureVersion=1.0
  3. &OssBucketName=yuanchuang
  4. &Name=CreateTest
  5. &Format=JSON
  6. &Timestamp=2015-12-01T07%3A04%3A33Z
  7. &Signature=iyEsE7vgGUWop7Term5HM48wzJU%3D
  8. &AccessKeyId=QzW2ySCTkbq9C21M
  9. &SignatureMethod=HMAC-SHA1
  10. &Version=2017-12-04
  11. &RoleName=aliyunactiontraildefaultrole
  12. &Action=CreateTrail
  13. &SignatureNonce=c69b30de-97f9-11e5-afb0-7831c1c8022e
  14. &OssKeyPrefix=

Common response parameters

Each time you send an API request, a unique RequestId is returned, whether the request is successful or not.

Example

JSON example

  1. {
  2. "Name": "CreateTest",
  3. "OssBucketName": "yuanchuang",
  4. "OssKeyPrefix": "",
  5. "RoleName": "aliyunactiontraildefaultrole"
  6. }
Thank you! We've received your feedback.