This is a legacy API which has been hidden and will no longer be updated. We recommend using the new MongoDB API 3.0 which is standardized and faster.
A complete TencentCloud API request requires two types of request parameters: common request parameters and API request parameters. This document describes the six common request parameters required by TencentCloud API requests. For detailed descriptions of API request parameters, see API Request Parameters.
Common request parameters are required in every API. When using TencentCloud APIs to send requests, make sure that the common request parameters are passed in; otherwise, the requests will fail. Common request parameters should always begin with a capital letter so that they can be differentiated from API request parameters.
The following lists the specific common request parameters:
This document illustrates APIs specific to Tencent Cloud CVMs. For APIs specific to other Tencent Cloud products, see the relevant documents.
|Action||Name of an action-specific API. For example, when a Tencent Cloud CVM user calls the API Querying Instance List, the
Note: 1. Unless otherwise specified in the API document, this parameter is required.
2. Certain regions are currently in beta and only available to whitelisted users.
|Timestamp||The current UNIX timestamp that records the time when the API request is initiated.||UInt||Yes|
|Nonce||The user-defined random positive integer, which is used in conjunction with
|SecretId||An ID that the user applies for on the TencentCloud API Key for identity authentication. A SecretId is paired with a unique SecretKey, which is used to generate the request signature. For more information, see Signature Method.||String||Yes|
|Signature||The request signature, which is used to verify the validity of this request. It is generated based on the actual input parameters. For the calculation method, see Signature Method.||String||Yes|
|SignatureMethod||Signature method. Supported methods are HmacSHA256 and HmacSHA1. The HmacSHA256 method is used to verify signatures only when the parameter is specified as HmacSHA256. Otherwise, HmacSHA1 is used. For more information, see Signature Method.||String||No|
|Token||The token used by the temporary certificate, which needs to be used in conjunction with the temporary key. No token is required for permanent keys.||String||No|
The following example shows how a common request parameter looks like in an Tencent Cloud API request. For example, if you want to query the list of Tencent Cloud CVM instances in Guangzhou regions, the desired request format is:
https://cvm.api.qcloud.com/v2/index.php? Action=DescribeInstances &SecretId=xxxxxxx &Region=ap-guangzhou &Timestamp=1465055529 &Nonce=59485 &Signature=mysignature &SignatureMethod=HmacSHA256 &<Common request parameter>