Mengkueri output node pipeline.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
paiflow:ListPipelineRunNodeOutputs |
list |
*All Resource
|
None | None |
Sintaks permintaan
GET /api/v1/pipelineruns/{PipelineRunId}/nodes/{NodeId}/outputs HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| PipelineRunId |
string |
Yes |
ID pekerjaan pipeline. Anda dapat memanggil ListPipelineRuns untuk mendapatkan ID pekerjaan pipeline. |
flow-n06dn********rfc53 |
| NodeId |
string |
Yes |
ID node pipeline. Anda dapat memanggil ListPipelineRuns untuk mendapatkan ID node. |
node-n06dn********rfc53 |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| Depth |
integer |
Yes |
Kedalaman tempat informasi node dikueri. Jika Anda mengatur Depth ke 2, informasi tentang node dan semua node turunannya di lapisan berikutnya akan dikembalikan. |
2 |
| Name |
string |
No |
Nama node pipeline. |
myName |
| PageNumber |
integer |
No |
Nomor halaman. Halaman dimulai dari halaman 1. |
1 |
| PageSize |
integer |
No |
Jumlah entri per halaman. |
20 |
| SortBy |
string |
No |
Bidang yang digunakan untuk mengurutkan hasil yang dikembalikan. Bidang berikut didukung:
|
GmtCreateTime |
| Order |
string |
No |
Pesanan pengurutan. Parameter ini harus digunakan bersama dengan parameter SortBy. Nilai valid:
|
DESC |
| Type |
string |
No |
Tipe output node pipeline. Nilai valid:
|
DataSet |
| TokenId |
string |
No |
ID pekerjaan pipeline yang dibagikan. |
https://pai.console.alibabacloud.com/?regionId=cn-hangzhou&workspaceId=102******&mode=noSidebar#/paiflow/pipeline-runs/flow-6y7******?Token=eyJ0e****** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
473469C7-****-****-****-A3DC0DE3C83E |
| TotalCount |
integer |
The total number of outputs for the pipeline node. |
2 |
| Outputs |
array<object> |
The outputs of the pipeline node. |
|
|
array<object> |
The output of the pipeline node. |
||
| Name |
string |
The name of the output for the pipeline node. |
model_****** |
| Type |
string |
The output type. Valid values:
|
Model |
| GmtCreateTime |
string |
The time when the output was created. |
2021-01-30T12:51:33.028Z |
| Id |
string |
The output ID. |
artifact-ty1xwv*******s8zf |
| NodeId |
string |
The ID of the pipeline node to which the output belongs. |
node-obpzu*******418grb7 |
| ExpandedArtifactIndex |
integer |
The expanded index number of the output, starting from 0. |
0 |
| ExpandableArtifactName |
string |
The expandable name of the output. |
inputArtifact |
| Info |
object |
The output information. |
{ "metadata": { "type": { "Model": { "locationType": "MaxComputeOfflineModel", "modelType": "OfflineModel" } } } |
| Producer |
string |
The output producer. |
id-3d25-************-77856 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "473469C7-****-****-****-A3DC0DE3C83E",
"TotalCount": 2,
"Outputs": [
{
"Name": "model_******",
"Type": "Model",
"GmtCreateTime": "2021-01-30T12:51:33.028Z",
"Id": "artifact-ty1xwv*******s8zf",
"NodeId": "node-obpzu*******418grb7",
"ExpandedArtifactIndex": 0,
"ExpandableArtifactName": "inputArtifact",
"Info": {
"test": "test",
"test2": 1
},
"Producer": "id-3d25-************-77856"
}
]
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.