Mengkueri daftar node leluhur dari sebuah node.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dataworks:* |
get |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ProjectEnv |
string |
Yes |
Tipe lingkungan Operation Center. Nilai yang valid: PROD dan DEV. Nilai PROD menunjukkan lingkungan produksi, dan nilai DEV menunjukkan lingkungan pengembangan. |
PROD |
| NodeId |
integer |
Yes |
ID node. Anda dapat membuka halaman Operation Center di konsol DataWorks untuk mengkueri ID node. |
12345456211234 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Hasil yang dikembalikan. |
||
| HttpStatusCode |
integer |
Kode status HTTP. |
200 |
| RequestId |
string |
ID permintaan. Anda dapat memecahkan masalah berdasarkan ID ini. |
asfsdfas-adfasdf-asfas-dfasdf-asdf |
| ErrorMessage |
string |
Pesan kesalahan. |
err |
| ErrorCode |
string |
Kode kesalahan. |
1060010000000 |
| Success |
boolean |
Menunjukkan apakah permintaan berhasil. |
true |
| Data |
object |
Node leluhur. |
|
| Nodes |
array<object> |
Node leluhur. |
|
|
object |
Hasil yang dikembalikan. |
||
| SchedulerType |
string |
The scheduling type of the node. Valid values:
|
NORMAL |
| BaselineId |
integer |
The baseline ID. |
1244564565 |
| Repeatability |
boolean |
Indicates whether the node can be rerun if the node fails to run. Valid values:
|
true |
| NodeName |
string |
The name of the node. |
test_Node |
| ProjectId |
integer |
The ID of the workspace to which the node belongs. |
12315412412 |
| ProgramType |
string |
The type of the node. |
ODPS_SQL |
| Priority |
integer |
The priority. Valid values: 1 to 8. A large value indicates a high priority. |
3 |
| OwnerId |
string |
The ID of the Alibaba Cloud account used by the node owner. |
123124561341251321 |
| CronExpress |
string |
The CRON expression. CRON expressions are used to run auto triggered nodes. |
00 00 * * * * |
| NodeId |
integer |
The node ID. |
1244564565 |
| StepType |
string |
The scheduling dependency type.
|
0 |
Contoh
Respons sukses
JSONformat
{
"HttpStatusCode": 200,
"RequestId": "asfsdfas-adfasdf-asfas-dfasdf-asdf",
"ErrorMessage": "err",
"ErrorCode": "1060010000000",
"Success": true,
"Data": {
"Nodes": [
{
"SchedulerType": "NORMAL",
"BaselineId": 1244564565,
"Repeatability": true,
"NodeName": "test_Node",
"ProjectId": 12315412412,
"ProgramType": "ODPS_SQL",
"Priority": 3,
"OwnerId": "123124561341251321",
"CronExpress": "00 00 * * * *",
"NodeId": 1244564565,
"StepType": "0"
}
]
}
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.