Domain name for API request: wedata.intl.tencentcloudapi.com.
This API is used to retrieve the content list of an sql folder
A maximum of 20 requests can be initiated per second for this API.
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 Params. The value used for this API: ListSQLFolderContents. |
| Version | Yes | String | Common Params. The value used for this API: 2025-08-06. |
| Region | Yes | String | Common Params. For more information, please see the list of regions supported by the product. |
| ProjectId | Yes | String | Project ID. |
| ParentFolderPath | Yes | String | Parent folder path, /aaa/bbb/ccc. path header must include a slash. pass / to query the root directory. |
| Keyword | No | String | Folder name or script name search. |
| OnlyFolderNode | No | Boolean | Queries only the folder. |
| OnlyUserSelfScript | No | Boolean | Specifies whether to query only scripts created by the user themselves. |
| AccessScope | No | String | Access permission: SHARED, PRIVATE. |
| Parameter Name | Type | Description |
|---|---|---|
| Data | Array of SQLFolderNode | Result list |
| RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
POST / HTTP/1.1
Host: wedata.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: ListSQLFolderContents
<Common request parameters>
{
"ProjectId": "2917455276892352512",
"ParentFolderPath": "/abc"
}{
"Response": {
"Data": [
{
"AccessScope": "SHARED",
"Children": [],
"CreateUserUin": "100041136798",
"Id": "c687e090-af62-44dc-878b-120dfa116216",
"IsLeaf": false,
"Name": null,
"NodePermission": null,
"OwnerUin": "100041136798",
"Params": "",
"ParentFolderPath": null,
"Path": "/abc/2u7ea7u6539u540d01",
"Type": "folder"
}
],
"RequestId": "3379217c-76da-4b00-a6ff-738f4959d184"
}
}
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 |
|---|---|
| FailedOperation | Operation failed. |
Feedback