ListDataCenterDatabase
Lists user-uploaded files in a data center, excluding databases.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dms:ListDataCenterDatabase |
list |
*All Resource
|
None | None |
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DmsUnit |
string |
No |
The DMS unit. |
cn-hangzhou |
| ImportType |
string |
No |
The import type.
|
FILE |
| SearchKey |
string |
No |
The keyword for a fuzzy search for databases. |
testdb |
| CallFrom |
string |
No |
This parameter is for internal use. |
仅前端使用 |
| Language |
string |
No |
This parameter is for internal use. |
仅前端使用 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Response schema |
||
| RequestId |
string |
The ID of the request. |
67E910F2-4B62-5B0C-ACA3-7547695C**** |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
| ErrorCode |
string |
The error code returned if the request fails. |
success |
| ErrorMessage |
string |
The error message returned if the request fails. |
Specified parameter Tid is not valid. |
| Data |
array<object> |
The list of databases. |
|
|
object |
The details of a database. |
||
| DbId |
string |
The ID of the database. |
6kv159u9vtpvl**********b8 |
| DbType |
string |
|
csv |
| ImportType |
string |
The import type. Valid values:
|
FILE |
| InstanceName |
string |
The name of the instance.
|
f-ean8u5881qk4*********xh5y |
| DatabaseName |
string |
The name of the database.
|
diamonds.csv |
| DatabaseDesc |
string |
The description of the database. |
这是一份钻石数据。 |
| DescUpdateTime |
string |
The time the database description was last updated. |
2025-12-11T14:04:32.000+00:00 |
| GmtCreated |
string |
The time the entry was created. |
2025-12-11T14:04:32.000+00:00 |
| Size |
integer |
The size of the file, in bytes. |
999 |
| IsInternal |
string |
Indicates whether the dataset is built-in. Valid values:
|
N |
| DmsInstanceId |
integer |
The ID of the DMS instance that manages the database.
|
2740966 |
| DmsDbId |
integer |
The ID of the database in DMS.
|
73088962 |
| UseUserOssBucket |
boolean |
||
| OssBucket |
string |
||
| DownloadLink |
string |
||
| IntranetDownloadLink |
string |
Examples
Success response
JSON format
{
"RequestId": "67E910F2-4B62-5B0C-ACA3-7547695C****",
"Success": true,
"ErrorCode": "success",
"ErrorMessage": "Specified parameter Tid is not valid.",
"Data": [
{
"DbId": "6kv159u9vtpvl**********b8",
"DbType": "csv",
"ImportType": "FILE",
"InstanceName": "f-ean8u5881qk4*********xh5y",
"DatabaseName": "diamonds.csv",
"DatabaseDesc": "这是一份钻石数据。",
"DescUpdateTime": "2025-12-11T14:04:32.000+00:00",
"GmtCreated": "2025-12-11T14:04:32.000+00:00",
"Size": 999,
"IsInternal": "N",
"DmsInstanceId": 2740966,
"DmsDbId": 73088962,
"UseUserOssBucket": false,
"OssBucket": "",
"DownloadLink": "",
"IntranetDownloadLink": ""
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.