全部產品
Search
文件中心

DataWorks:ListDeploymentPackageFiles - 擷取待發布的檔案版本列表

更新時間:Mar 21, 2026

擷取待發布的檔案版本列表。

調試

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

調試

授權資訊

下表是API對應的授權資訊,可以在RAM權限原則語句的Action元素中使用,用來給RAM使用者或RAM角色授予調用此API的許可權。具體說明如下:

  • 操作:是指具體的許可權點。

  • 存取層級:是指每個操作的存取層級,取值為寫入(Write)、讀取(Read)或列出(List)。

  • 資源類型:是指操作中支援授權的資源類型。具體說明如下:

    • 對於必選的資源類型,用前面加 * 表示。

    • 對於不支援資源級授權的操作,用全部資源表示。

  • 條件關鍵字:是指雲產品自身定義的條件關鍵字。

  • 關聯操作:是指成功執行操作所需要的其他許可權。操作者必須同時具備關聯操作的許可權,操作才能成功。

操作

存取層級

資源類型

條件關鍵字

關聯操作

dataworks:*

list

*全部資源

*

請求參數

名稱

類型

必填

描述

樣本值

ProjectId

integer

DataWorks 工作空間的 ID。您可以登入 DataWorks 控制台,進入工作空間配置頁面擷取工作空間 ID。

12345

BusinessId

integer

商務程序的 ID,您可以調用 ListBusiness 介面,根據名稱查詢對應商務程序的 ID。

100001

SolutionId

integer

解決方案 ID。

8065

CommitFrom

string

提交起始日期,格式 yyyy-MM-dd

2025-01-01

CommitTo

string

提交到期日(包含),格式 yyyy-MM-dd

2025-01-31

CommitUserId

string

提交人的使用者識別碼

2003****

FileType

integer

檔案的代碼類型。

不同檔案類型其代碼不同,詳情請參見 DataWorks 節點合集。 您也可以調用 ListFileType 介面,查詢檔案的代碼類型。

10

ChangeType

integer

變更類型

  • 0:新增

  • 1:更新

  • 2:刪除

0

FileIds

array

需要查詢的檔案 ID 列表。

string

需要查詢的檔案 ID。

11223**

FileName

string

檔案的名稱。

Filename

PageNumber

integer

分頁的頁數。

1

PageSize

integer

每頁顯示的條數,預設為 10,最大 100 條。

20

返回參數

名稱

類型

描述

樣本值

object

Schema of Response

RequestId

string

請求 ID。用於出現錯誤後排查問題。

0000-ABCD-EFG****

PagingInfo

object

分頁資訊。

TotalCount

integer

滿足條件的資料總條數。

100

PageNumber

integer

分頁頁碼,從 1 開始。

1

PageSize

integer

分頁大小,預設為 10。

10

DeploymentPackageFiles

array<object>

具體的待發布的檔案版本資訊列表

object

具體的待發布的檔案版本資訊

Id

integer

唯一標識

650433503

FileId

integer

檔案的 ID。

520246913

FileVersion

integer

檔案的版本號碼

34

CommitTime

string

提交時間

2025-04-10 15:55:47

CommitUser

string

提交人的阿里雲帳號 ID

446***

CommitUserName

string

提交人的阿里雲帳號名稱

user***

ProjectId

integer

工作空間 ID。

27595

TenantId

integer

DataWorks 租戶 ID

639415964191360

FileType

integer

檔案類型。不同檔案類型其代碼不同,詳情請參見 DataWorks 節點合集

13

FileName

string

產生本次檔案版本的檔案名稱。

bak_part_basc_person_relation_all_da

Status

integer

該版本的代碼檔案的狀態

  • 2:提交檢查中

  • 3:提交檢查成功

  • 4:提交檢查拒絕

  • 10:提交中

  • 11:已經提交至調度的開發

  • 20:審核通過

  • 21:審核失敗

  • 22:檢查存在警示

  • 23:代碼審核中

  • 24:代碼審核拒絕

  • 80:建立發布包成功

  • 100:發布中

  • 101:發布至生產

  • 200:取消

100

ChangeType

integer

Integer 變更類型

  • 0:新增

  • 1:更新

  • 2:刪除

0

IsSameAsProductionVersion

boolean

該版本是否是當前調度生產上的版本

true

NodeId

integer

該檔案對應的調度上的節點 id

700005008419

Comment

string

提交時的注釋

測試提交

NodeConfiguration

string

儲存該檔案所在調度節點的調度屬性配置資訊(Json 串的形式儲存)

{ "tagList": [], "fileId": -1, "taskRerunTime": 0, "taskRerunInterval": 0, "reRunAble": 1, "nodeId": 125803000, "nodeName": "new", "nodeType": 0, "isStop": 0, "paraValue": "", "startEffectDate": "1970-01-01 00:00:00", "endEffectDate": "9999-01-01 00:00:00", "cronExpress": "00 26 00 * * ?", "owner": "1107550004250000", "resgroupId": 6300000, "cu": "0.25", "appId": 170000, "tenantId": 524257424560000, "createTime": "2025-04-10 15:55:01", "createUser": "1107550004250000", "lastModifyTime": "2025-04-10 15:55:41", "cycleType": 0, "dependentType": 0, "dependentTypeList": [0], "lastModifyUser": "1107550004250000", "dependentDataNode": "", "input": "[{\"regionId\":\"cn-hangzhou\",\"str\":\"root_input\",\"parseType\":1}]", "output": "[{\"str\":\"project_root.526586287_out\",\"parseType\":2},{\"str\":\"project_root.new\",\"parseType\":1}]", "inputList": [{ "regionId": "cn-hangzhou", "str": "root_input", "parseType": 1 }], "outputList": [{ "str": "project_root.526586287_out", "parseType": 2 }, { "str": "project_root.new", "parseType": 1 }], "isAutoParse": 1, "startRightNow": false, "extConfig": "{\"openCustomCron\":false,\"formCron\":\"\"}", "inputContextList": [], "outputContextList": [] }

UseType

string

檔案所屬的功能模組。取值如下:

  • NORMAL:資料開發。

  • MANUAL:手動任務。

  • MANUAL_BIZ:手動商務程序。

  • SKIP:資料開發的空跑調度。

  • ADHOCQUERY:臨時查詢。

  • COMPONENT:組件管理。

NORMAL

SmokeTestStatus

string

開發環境測試情況

未測試

樣本

正常返回樣本

JSON格式

{
  "RequestId": "0000-ABCD-EFG****",
  "PagingInfo": {
    "TotalCount": 100,
    "PageNumber": 1,
    "PageSize": 10,
    "DeploymentPackageFiles": [
      {
        "Id": 650433503,
        "FileId": 520246913,
        "FileVersion": 34,
        "CommitTime": "2025-04-10 15:55:47",
        "CommitUser": "446***",
        "CommitUserName": "user***",
        "ProjectId": 27595,
        "TenantId": 639415964191360,
        "FileType": 13,
        "FileName": "bak_part_basc_person_relation_all_da",
        "Status": 100,
        "ChangeType": 0,
        "IsSameAsProductionVersion": true,
        "NodeId": 700005008419,
        "Comment": "測試提交",
        "NodeConfiguration": "{\n\t\"tagList\": [],\n\t\"fileId\": -1,\n\t\"taskRerunTime\": 0,\n\t\"taskRerunInterval\": 0,\n\t\"reRunAble\": 1,\n\t\"nodeId\": 125803000,\n\t\"nodeName\": \"new\",\n\t\"nodeType\": 0,\n\t\"isStop\": 0,\n\t\"paraValue\": \"\",\n\t\"startEffectDate\": \"1970-01-01 00:00:00\",\n\t\"endEffectDate\": \"9999-01-01 00:00:00\",\n\t\"cronExpress\": \"00 26 00 * * ?\",\n\t\"owner\": \"1107550004250000\",\n\t\"resgroupId\": 6300000,\n\t\"cu\": \"0.25\",\n\t\"appId\": 170000,\n\t\"tenantId\": 524257424560000,\n\t\"createTime\": \"2025-04-10 15:55:01\",\n\t\"createUser\": \"1107550004250000\",\n\t\"lastModifyTime\": \"2025-04-10 15:55:41\",\n\t\"cycleType\": 0,\n\t\"dependentType\": 0,\n\t\"dependentTypeList\": [0],\n\t\"lastModifyUser\": \"1107550004250000\",\n\t\"dependentDataNode\": \"\",\n\t\"input\": \"[{\\\"regionId\\\":\\\"cn-hangzhou\\\",\\\"str\\\":\\\"root_input\\\",\\\"parseType\\\":1}]\",\n\t\"output\": \"[{\\\"str\\\":\\\"project_root.526586287_out\\\",\\\"parseType\\\":2},{\\\"str\\\":\\\"project_root.new\\\",\\\"parseType\\\":1}]\",\n\t\"inputList\": [{\n\t\t\"regionId\": \"cn-hangzhou\",\n\t\t\"str\": \"root_input\",\n\t\t\"parseType\": 1\n\t}],\n\t\"outputList\": [{\n\t\t\"str\": \"project_root.526586287_out\",\n\t\t\"parseType\": 2\n\t}, {\n\t\t\"str\": \"project_root.new\",\n\t\t\"parseType\": 1\n\t}],\n\t\"isAutoParse\": 1,\n\t\"startRightNow\": false,\n\t\"extConfig\": \"{\\\"openCustomCron\\\":false,\\\"formCron\\\":\\\"\\\"}\",\n\t\"inputContextList\": [],\n\t\"outputContextList\": []\n}",
        "UseType": "NORMAL",
        "SmokeTestStatus": "未測試"
      }
    ]
  }
}

錯誤碼

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

變更歷史

更多資訊,參考變更詳情