Mengkueri informasi tentang satu tingkat node leluhur atau node turunan dari sebuah node.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| NodeId |
integer |
Yes |
ID node. Anda dapat memanggil operasi ListNodes untuk mengkueri ID tersebut. |
1234 |
| ProjectEnv |
string |
Yes |
Lingkungan runtime. Nilai valid: DEV dan PROD. |
PROD |
| IoType |
string |
Yes |
Apakah akan mengkueri informasi tentang node leluhur atau node turunan dari node saat ini. Nilai valid: input dan output. |
output |
Elemen respons
|
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 |
Contoh
Respons sukses
JSONformat
{
"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
}
]
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.