Queries a list of nodes in DataStudio. You can also specify filter conditions to query specific nodes.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
ProjectId | string | Yes | The DataWorks workspace ID. You can log on to the DataWorks console and go to the Workspace page to query the ID. | 12345 |
Scene | string | No | The scene of nodes. This parameter specifies a filter condition. Valid values:
Enumeration Value:
| DATAWORKS_PROJECT |
ContainerId | string | No | The container ID. This parameter specifies a filter condition. | 860438872620113XXXX |
RerunMode | string | No | The rerun mode. Valid values:
| Allowed |
PageNumber | integer | No | The page number. | 1 |
PageSize | integer | No | The number of entries per page. Default value: 10. Maximum value: 100. | 10 |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "2197B9C4-39CE-55EA-8EEA-FDBAE52DXXXX",
"PagingInfo": {
"TotalCount": "42",
"PageSize": "10",
"PageNumber": "1",
"Nodes": [
{
"Description": "",
"Name": "test",
"Id": "860438872620113XXXX",
"ProjectId": "33233",
"Owner": "110755000425XXXX",
"CreateTime": 1722910655000,
"ModifyTime": 1722910655000,
"DataSource": {
"Name": "odps_first",
"Type": "odps"
},
"TaskId": "88888888888",
"Tags": [
{
"Key": "null",
"Value": "null"
}
],
"Strategy": {
"Timeout": 0,
"InstanceMode": "T+1",
"RerunMode": "Allowed",
"RerunTimes": 3,
"RerunInterval": 180000
},
"Outputs": {
"Variables": [
{
"Name": "output\n",
"ArtifactType": "Variable",
"Scope": "NodeParameter",
"Type": "Constant",
"Value": "111",
"Id": "623731286945488XXXX",
"Node": {
"Output": "860438872620113XXXX"
}
}
],
"NodeOutputs": [
{
"Data": "860438872620113XXXX"
}
],
"Tables": [
{
"Guid": "odps.autotest.test_output_table_1"
}
]
},
"Inputs": {
"Variables": [
{
"Name": "input",
"ArtifactType": "Variable",
"Scope": "NodeParameter",
"Type": "Constant",
"Value": "222",
"Id": "543211286945488XXXX",
"Node": {
"Output": "623731286945488XXXX"
}
}
],
"NodeOutputs": [
{
"Data": "623731286945488XXXX"
}
],
"Tables": [
{
"Guid": "odps.autotest.test_output_table_1"
}
]
},
"Trigger": {
"Type": "Scheduler",
"Id": "543680677872062XXXX",
"Cron": "00 00 00 * * ?",
"StartTime": "1970-01-01 00:00:00",
"EndTime": "9999-01-01 00:00:00",
"Timezone": "Asia/Shanghai"
},
"Script": {
"Path": "root/demo",
"Runtime": {
"Command": "ODPS_SQL"
},
"Id": "853573334108680XXXX"
},
"RuntimeResource": {
"ResourceGroupId": "S_resgrop_xxx"
},
"Recurrence": "Normal"
}
]
}
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2024-10-11 | The request parameters of the API has changed | View Change Details |