ListDatasets
Lists datasets.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cms:ListDatasets |
list |
*Dataset
|
None | None |
Request syntax
GET /workspace/{workspace}/dataset HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| workspace |
string |
Yes |
The workspace ID. |
workspace-test |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| datasetName |
string |
No |
The dataset name. |
test_dataset |
| maxResults |
integer |
No |
The maximum number of results to return. |
100 |
| nextToken |
string |
No |
The pagination token. |
d9a48d977f45aa6fcf6981ed13b885b3fab0b124c12dcbbe70edce5d81ba**************** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response data. |
||
| nextToken |
string |
The pagination token. |
d9a48d977f45aa6fcf6981ed13b885b3fab0b124c12dcbbe70edce5d81ba**************** |
| maxResults |
integer |
The maximum number of results to return. |
100 |
| requestId |
string |
The request ID. |
8FDE2569-626B-5176-9844-28877A***** |
| total |
integer |
The total number of entries. |
96 |
| datasets |
array<object> |
The result set. |
|
|
object |
The result set. |
||
| description |
string |
The description. |
test dataset |
| createTime |
string |
The creation time. |
1695090077 |
| updateTime |
string |
The update time. |
1695090077 |
| datasetName |
string |
The dataset name. |
test_dataset |
| workspace |
string |
The workspace ID. |
workspace-test |
| regionId |
string |
The region ID. |
cn-hangzhou |
Examples
Success response
JSON format
{
"nextToken": "d9a48d977f45aa6fcf6981ed13b885b3fab0b124c12dcbbe70edce5d81ba****************",
"maxResults": 100,
"requestId": "8FDE2569-626B-5176-9844-28877A*****",
"total": 96,
"datasets": [
{
"description": "test dataset",
"createTime": "1695090077",
"updateTime": "1695090077",
"datasetName": "test_dataset",
"workspace": "workspace-test",
"regionId": "cn-hangzhou"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.