Queries the information about one level of ancestor or descendant nodes of a node.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| NodeId |
integer |
Yes |
The node ID. You can call the ListNodes operation to query the ID. |
1234 |
| ProjectEnv |
string |
Yes |
The runtime environment. Valid values: DEV and PROD. |
PROD |
| IoType |
string |
Yes |
Specifies whether to query the information about ancestor or descendant nodes of the current node. Valid values: input and output. |
output |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
| RequestId |
string |
The request ID. |
E6F0DBDD-5AD**** |
| ErrorMessage |
string |
The error message. |
The project does not exist. |
| ErrorCode |
string |
The error code. |
Invalid.Tenant.ProjectNotExists |
| Success |
boolean |
Indicates whether the request was successful. |
true |
| Data |
array<object> |
The node information. |
|
|
object |
|||
| TableName |
string |
The name of the input or output table. |
dataworks_a.datastudio_tenant_waitres_alarm |
| Data |
string |
The name of the ancestor or descendant node. |
dataworks_a.1234_out |
| NodeId |
integer |
The node ID. |
123123 |
Examples
Success response
JSON format
{
"HttpStatusCode": 200,
"RequestId": "E6F0DBDD-5AD****",
"ErrorMessage": "The project does not exist.",
"ErrorCode": "Invalid.Tenant.ProjectNotExists",
"Success": true,
"Data": [
{
"TableName": "dataworks_a.datastudio_tenant_waitres_alarm",
"Data": "dataworks_a.1234_out",
"NodeId": 123123
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.