GetDatasetVersion
Retrieves information about a specific dataset version.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
paidataset:GetDatasetVersion |
get |
*All Resource
|
None | None |
Request syntax
GET /api/v1/datasets/{DatasetId}/versions/{VersionName} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DatasetId |
string |
Yes |
The ID of the dataset. For more information, see ListDatasets. |
d-lfd60v0p****ujtsdx |
| VersionName |
string |
Yes |
The name of the version. |
v1 |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response body. |
||
| RequestId |
string |
The ID of the request. |
C55DF3DA-F120-5E37-A374-F49365531701 |
| DatasetId |
string |
The ID of the dataset. |
d-dkdbnnap0g7b6su4yg |
| VersionName |
string |
The name of the dataset version. |
v1 |
| Property |
string |
The property of the dataset. |
DIRECTORY |
| GmtCreateTime |
string |
The time when the dataset version was created. |
2023-12-13T10:22:05.694Z |
| GmtModifiedTime |
string |
The time when the dataset version was last modified. |
2023-12-13T10:22:05.694Z |
| DataSourceType |
string |
The type of the data source. |
OSS |
| Uri |
string |
The URI of the dataset version. |
oss://ai4d-br7hx9ngzelo2o6uip.oss-cn-shanghai.aliyuncs.com/365349/data-1157703270994901/datasets/aka108o/ |
| Labels |
array |
The tags of the resource. |
|
| Label |
A tag. |
||
| Options |
string |
Additional options. |
{ "mountPath": "/mnt/data/" } |
| SourceType |
string |
The source type. Valid values:
|
USER |
| Description |
string |
The description of the version. |
This is a description of the dataset version. |
| SourceId |
string |
The ID of the dataset source. |
d-rbvg5wzljzjhc9ks92 |
| DataCount |
integer |
The number of data entries. |
10000 |
| DataSize |
integer |
The size of the dataset. |
10000 |
| MountAccess |
string |
The access permissions when the dataset is mounted.
|
RO |
| ImportInfo |
string |
The storage import configuration of the dataset. Supported storage services include OSS, NAS, and CPFS. |
{ "region": "cn-wulanchabu", "fileSystemId": "bmcpfs-xxxxxxxxxxx", "path": "/mnt", "mountTarget": "cpfs-xxxxxxxxxxxx-vpc-gacs9f.cn-wulanchabu.cpfs.aliyuncs.com", "isVpcMount": true } |
Examples
Success response
JSON format
{
"RequestId": "C55DF3DA-F120-5E37-A374-F49365531701",
"DatasetId": "d-dkdbnnap0g7b6su4yg",
"VersionName": "v1",
"Property": "DIRECTORY",
"GmtCreateTime": "2023-12-13T10:22:05.694Z",
"GmtModifiedTime": "2023-12-13T10:22:05.694Z",
"DataSourceType": "OSS",
"Uri": "oss://ai4d-br7hx9ngzelo2o6uip.oss-cn-shanghai.aliyuncs.com/365349/data-1157703270994901/datasets/aka108o/",
"Labels": [
{
"Key": "env",
"Value": "test"
}
],
"Options": "{\n \"mountPath\": \"/mnt/data/\"\n}",
"SourceType": "USER",
"Description": "This is a description of the dataset version.",
"SourceId": "d-rbvg5wzljzjhc9ks92",
"DataCount": 10000,
"DataSize": 10000,
"MountAccess": "RO",
"ImportInfo": "{\n \"region\": \"cn-wulanchabu\",\n \"fileSystemId\": \"bmcpfs-xxxxxxxxxxx\",\n \"path\": \"/mnt\",\n \"mountTarget\": \"cpfs-xxxxxxxxxxxx-vpc-gacs9f.cn-wulanchabu.cpfs.aliyuncs.com\",\n \"isVpcMount\": true\n}"
}
Error codes
See for a complete list.
Release notes
See Release Notes for a complete list.