What does the Aliyun API call public parameters

Source: Internet
Author: User
Tags hmac sha1 aliyun

Public parameters

Public Request parameters

A common request parameter is a request parameter that each interface needs to use.

Whether the name type must describe

FormatString returns the type of value that supports JSON and XML. The default is XML.

VersionString is the API version number, the date form: YYYY-MM-DD, this version corresponds to 2014-05-26.

Accesskeyidstring is the key ID that is used by Aliyun to the Access service that is issued to the user.

Signaturestring is the signature result string, for the method of calculating the signature, see < signature mechanism >.

Signaturemethodstring is a signature method that currently supports HMAC-SHA1.

Timestampstring is the timestamp of the request. The date format is indicated by the ISO8601 standard and requires UTC time. The format is:

Yyyy-mm-ddthh:mm:ssz

For example, 2014-05-26t12:00:00z (for Beijing time May 26, 2014 20:0 0 seconds).

Signatureversionstring is the signature algorithm version, the current version is 1.0.

Signaturenoncestring is the only random number used to prevent network replay attacks. Users use different random values between different requests

Resourceowneraccount string This API requests access to the resource owner account, which is the logon user name.

The use of this parameter, see < using RAM to implement a child account for the main account of the ECS resource access, (only in RAM can be authorized for ECS resources in the Action to use this parameter, otherwise access will be denied)

Example

https://ecs.aliyuncs.com/

? Format=xml

&version=2014-05-26

&signature=pc5wb8gokvn0xfeu%2fzv%2binm1dgi%3d

&signaturemethod=hmac-sha1

&signaturenonce=15215528852396

&signatureversion=1.0

&accesskeyid=key-test

&timestamp=2012-06-01t12:00:00z

...

Public return parameters

Each interface call request sent by the user, regardless of success or failure, the system will return a unique identification code RequestID to the user.

Example

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.