All Products
Search
Document Center

DataWorks:ListNodeInputOrOutput

Last Updated:Oct 17, 2024

Queries the input and output information about a node. Only the ancestor or descendant nodes at the nearest level can be queried each time.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
NodeIdlongYes

The node ID. You can call the ListNodes operation to query the ID.

12314567
ProjectEnvstringYes

The environment of the workspace. Valid values: DEV and PROD.

PROD
IoTypestringYes

The type of node that you want to query. Valid values:

  • input: ancestor node
  • output: descendant node
output

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

HttpStatusCodeinteger

The HTTP status code.

200
RequestIdstring

The request ID.

E6F0DBDD-5AD****
ErrorMessagestring

The error message.

The project does not exist.
ErrorCodestring

The error code.

Invalid.Tenant.ProjectNotExists
Successboolean

Indicates whether the request was successful.

true
Dataarray<object>

The ancestor or descendant nodes.

Dataobject
TableNamestring

This parameter does not take effect. You cannot obtain the parameter settings.

dwd_xxx_table
Datastring

The name of the ancestor or descendant node.

xxxx.123141254_out
NodeIdlong

The node ID.

1234667

Examples

Sample success responses

JSONformat

{
  "HttpStatusCode": 200,
  "RequestId": "E6F0DBDD-5AD****",
  "ErrorMessage": "The project does not exist.",
  "ErrorCode": "Invalid.Tenant.ProjectNotExists",
  "Success": true,
  "Data": [
    {
      "TableName": "dwd_xxx_table",
      "Data": "xxxx.123141254_out",
      "NodeId": 1234667
    }
  ]
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history