tencent cloud

Feedback

Common Request Parameters

Last updated: 2024-01-03 10:20:35
The common parameters are used to authenticate the user and API. If not necessary, these parameters are not described in individual API documents. However, they must be carried by each request in order for the request to be properly initiated.
Note:
The APIs listed on this page are on legacy versions and may be disused in the future. Currently, they are not displayed on the left sidebar. CVM APIs v3.0 have more standardized definitions and much lower access latency and thus are recommended.
Name
Type
Description
Required
Action
String
API name, such as DescribeInstances
Yes
Region
String
Region parameter, which is used to indicate the region of the target instance. Valid values: bj: Beijing; gz: Guangzhou; sh: Shanghai; hk: Hong Kong (China); ca: North America; sg: Singapore; usw: West US; cd: Chengdu; de: Germany; kr: South Korea; gzopen: Guangzhou OPEN
Yes
Timestamp
UInt
Current Unix timestamp
Yes
Nonce
UInt
A random positive integer used in conjunction with Timestamp to prevent replay attacks
Yes
SecretId
String
The identifying SecretId and SecretKey obtained on the Tencent Cloud platform. The latter is used to generate the signature. For more information, see Signature
Yes
Signature
String
Request signature, which is used to verify the validity of the request. For more information, see Signature
Yes
A typical API request is as follows, where Action=DescribeInstance indicates to query the details of a CVM instance.
https://cvm.api.qcloud.com/v2/index.php?Action=DescribeInstances
&SecretId=xxxxxxx
&Region=gz
&Timestamp=1402992826
&Nonce=345122
&Signature=mysignature
&instanceId=101
instanceId is an instruction parameter, and others are common parameters.
Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

7x24 Phone Support