Domain name for API request: dcdb.tencentcloudapi.com.
This API is used to query the project list.
A maximum of 20 requests can be initiated per second for this API.
Note: This API supports Finance regions. If the common parameter Region is a Finance region, a domain name with the Finance region needs to be specified, for example: dcdb.ap-shanghai-fsi.tencentcloudapi.com
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
Parameter Name | Required | Type | Description |
---|---|---|---|
Action | Yes | String | Common parameter. The value used for this API: DescribeProjects. |
Version | Yes | String | Common parameter. The value used for this API: 2018-04-11. |
Region | Yes | String | Common parameter. For more information, please see the list of regions supported by the product. |
Parameter Name | Type | Description |
---|---|---|
Projects | Array of Project | Project list |
RequestId | String | The unique request ID, which is returned for each request. RequestId is required for locating a problem. |
https://dcdb.tencentcloudapi.com/?Action=DescribeProjects
&<common request parameters>
{
"Response": {
"Projects": [
{
"AppId": 0,
"CreateTime": "0000-00-00 00:00:00",
"CreatorUin": 0,
"Info": "Default project",
"IsDefault": 1,
"Name": "Default project",
"OwnerUin": 0,
"ProjectId": 0,
"SrcAppId": 0,
"SrcPlat": "qcloud",
"Status": 3
},
{
"AppId": 1251966477,
"CreateTime": "2019-09-17 15:47:05",
"CreatorUin": 3374998458,
"Info": "",
"IsDefault": 0,
"Name": "ryanforredis",
"OwnerUin": 3374998458,
"ProjectId": 1159121,
"SrcAppId": 0,
"SrcPlat": "qcloud",
"Status": 0
}
],
"RequestId": "31666e3c-f5bf-4862-8876-68f81131eef1"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
Error Code | Description |
---|---|
InternalError.ListProjectFailed | Failed to pull the project list. |
UnauthorizedOperation.PermissionDenied | You have no permission to manipulate this API or resource. |
Was this page helpful?