ListNodesByOutput
Queries nodes by an exact match on the output of the nodes.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dataworks:* |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ProjectEnv |
string |
Yes |
The environment of Operation Center. Valid values: PROD and DEV. The value PROD indicates the production environment, and the value DEV indicates the development environment. |
PROD |
| Outputs |
string |
Yes |
The output name of the node. You can specify multiple output names. Separate them with commas (,). |
aaaaa.1231412_out,bbbb.12313123_out |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
| RequestId |
string |
The request ID. |
SDFSDFSDF-asdfDFSDF-SDFSDf-SDfSFD |
| ErrorMessage |
string |
The error message. |
The connection does not exist. |
| ErrorCode |
string |
The error code. |
Invalid.Tenant.ConnectionNotExists |
| Success |
boolean |
Indicates whether the request was successful. |
true |
| Data |
array<object> |
The nodes returned. |
|
|
array<object> |
|||
| Output |
string |
The output name of the current node. |
test_0709_1.630003556_out |
| NodeList |
array<object> |
The list of node information corresponding to input and output. |
|
|
object |
|||
| SchedulerType |
string |
The scheduling type of the node. Valid values:
|
NORMAL |
| RepeatInterval |
integer |
The interval at which the node is rerun after the node fails to run. |
60 |
| Repeatability |
boolean |
Indicates whether the node can be rerun. |
true |
| FileType |
string |
The file type. Different file types have different codes. For more information, see DataWorks nodes. |
ODPS_SQL |
| ProjectId |
integer |
The workspace ID. |
33671 |
| ProgramType |
string |
The node type. This parameter is deprecated. For more information about node types, see valid values of the FileType parameter. |
ODPS_SQL |
| Priority |
integer |
The priority of the node. Valid values: 1, 3, 5, 7, and 8. A greater value indicates a higher priority. Default value: 1. |
1 |
| OwnerId |
string |
The owner ID. |
19337906836551 |
| Connection |
string |
The name of the data source. |
odps_source |
| ParamValues |
string |
The scheduling parameters of the node. |
a=b |
| RelatedFlowId |
integer |
The ID of the workflow to which the node belongs. |
1235655464 |
| DqcType |
integer |
Indicates whether the node is associated with a monitoring rule in Data Quality. Valid values: 0 and 1. The value 0 indicates that the node is associated with a monitoring rule in Data Quality. The value 1 indicates that the node is not associated with a monitoring rule in Data Quality. |
1 |
| BaselineId |
integer |
The baseline ID. |
1235667 |
| Description |
string |
The description of the node. |
test |
| NodeName |
string |
The name of the node. |
liux_test_n**** |
| ResGroupName |
string |
The name of the resource group. |
Default Resource Group |
| DqcDescription |
string |
The table and partition filter expression in Data Quality that are associated with the node. |
[{"projectName":"ztjy_dim","tableName":"dim_user_agent_manage_area_a","partition":"ds\u003d$[yyyy-mm-dd-1]"}] |
| CronExpress |
string |
The CRON expression. |
00 00 00 * * ? |
| NodeId |
integer |
The node ID. |
125677 |
Examples
Success response
JSON format
{
"HttpStatusCode": 200,
"RequestId": "SDFSDFSDF-asdfDFSDF-SDFSDf-SDfSFD",
"ErrorMessage": "The connection does not exist.",
"ErrorCode": "Invalid.Tenant.ConnectionNotExists",
"Success": true,
"Data": [
{
"Output": "test_0709_1.630003556_out",
"NodeList": [
{
"SchedulerType": "NORMAL",
"RepeatInterval": 60,
"Repeatability": true,
"FileType": "ODPS_SQL",
"ProjectId": 33671,
"ProgramType": "ODPS_SQL",
"Priority": 1,
"OwnerId": "19337906836551",
"Connection": "odps_source",
"ParamValues": "a=b",
"RelatedFlowId": 1235655464,
"DqcType": 1,
"BaselineId": 1235667,
"Description": "test",
"NodeName": "liux_test_n****",
"ResGroupName": "Default Resource Group",
"DqcDescription": "[{\"projectName\":\"ztjy_dim\",\"tableName\":\"dim_user_agent_manage_area_a\",\"partition\":\"ds\\u003d$[yyyy-mm-dd-1]\"}]",
"CronExpress": "00 00 00 * * ?",
"NodeId": 125677
}
]
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.