All Products
Search
Document Center

ListDataSet

Last Updated: Jan 22, 2021

Description

Queries datasets of a specified instance. The returned datasets are arranged in descending order based on the values of the GmtCreate parameter.

Method

GET

URI

/openapi/instances/{instanceId}/dataSets

Response parameters

Parameter

Type

Description

RequestId

String

The ID of the request.

Result

List

The datasets returned.

DataSet

DataSet

The dataset returned.

Sample requests

GET /openapi/instances/airec-cn-0pp0s5rya0002u8pf/dataSets

Sample success responses

JSON format

{
    "RequestId":"8F81A922-6C81-46D6-B78C-CC35E16B1691",
    "Result":[
          {
            "InstanceId":  "airec-cn-xxxxx",
            "VersionId": "20181023214546",
            "State": "Importing",
            "GmtCreate": 1537531932000,
            "GmtModified": 1537531932000
        },
        {
            "InstanceId":  "airec-cn-xxxxx",
            "VersionId": "20181023214546",
            "State": "Importing",
            "GmtCreate": 1537531932000,
            "GmtModified": 1537531932000
        }
    ]
}

No results

JSON format

{
    "RequestId":"8F81A922-6C81-46D6-B78C-CC35E16B1691",
    "Result":[]
}