全部產品
Search
文件中心

DataWorks:ListSnapshots

更新時間:Sep 03, 2026

取得版本快照清單。

調試

您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。

調試

授權資訊

當前API暫無授權資訊透出。

請求參數

名稱

類型

必填

描述

樣本值

Namespace

string

是

隔離空間(專案空間 projectId 或個人空間 baseId)。

1389623

ObjectId

string

是

物件唯一 ID。

8467231038932407294

Type

string

是

快照類型(可多值):Saved/Deployed/UnDeployed。

Saved

PageNumber

integer

否

頁碼。

1

PageSize

integer

否

每頁筆數。

10

返回參數

名稱

類型

描述

樣本值

object

Schema of Response

RequestId

string

Id of the request

0bc14115-1234-5678-ABCD-159376359

PagingInfo

object

分頁資訊。

TotalCount

integer

總筆數。

12

PageSize

integer

每頁筆數。

10

PageNumber

integer

頁碼。

1

Snapshots

array<object>

快照清單。

object

Id

string

The unique ID of the snapshot.

8b723a9e8bd443af920b77e39aeb4f63

Namespace

string

The namespace.

1389623

ObjectId

string

The unique ID of the object to which the snapshot belongs.

8467231038932407294

Version

integer

The version number.

2

Type

string

The snapshot type.

Saved

Creator

string

The employee ID of the submitter.

209508679263509059

Comment

string

The snapshot comment.

snapshot comment

CreateTime

integer

The snapshot creation time, in millisecond UNIX timestamp.

1782370983000

樣本

正常返回樣本

JSON格式

{
  "RequestId": "0bc14115-1234-5678-ABCD-159376359",
  "PagingInfo": {
    "TotalCount": 12,
    "PageSize": 10,
    "PageNumber": 1,
    "Snapshots": [
      {
        "Id": "8b723a9e8bd443af920b77e39aeb4f63",
        "Namespace": "1389623",
        "ObjectId": "8467231038932407294",
        "Version": 2,
        "Type": "Saved",
        "Creator": "209508679263509059",
        "Comment": "snapshot comment",
        "CreateTime": 1782370983000
      }
    ]
  }
}

錯誤碼

訪問錯誤中心查看更多錯誤碼。

變更歷史

更多資訊,參考變更詳情。