GetExperimentVisualizationMeta
Retrieves the visualization metadata of a workflow draft.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
paidesigner:GetPipelineDraftVisualizationMeta |
get |
*All Resource
|
None | None |
Request syntax
GET /api/v1/experiments/{ExperimentId}/visualizationMeta HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ExperimentId |
string |
Yes |
The ID of the workflow draft. |
draft-rbvg5wzljzjhc9ks92 |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| NodeIds |
string |
No |
The list of node IDs in the workflow draft, separated by commas. If this parameter is left empty, all nodes in the workflow draft are queried. |
node_id1,node_id2 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response. |
||
| requestId |
string |
The ID of the request. |
A84A1282-D3E7-5198-9E8E-2AD09C78C6C1 |
| VisualizationMeta |
array<object> |
The list of visualization metadata. |
|
|
object |
The visualization information. |
||
| NodeId |
string |
The ID of the node. |
node_id1 |
| NodeName |
string |
The name of the node. |
Histogram_1 |
| Meta |
string |
The metadata of the visualization data in JSON format. |
{ "locations": [{ "id": "result_table", "location": { "project": "mulan_test_pre_1", "endpoint": "http://service.cn.maxcompute.aliyun-inc.com/api", "table": "pai_temp_flow_qzkkjqic95olnrel1w_node_7hc1rdsa99gy2msbvc_visualizationTable" }, "locationType": "MaxComputeTable" }], "components": [{ "id": "histogram-chart", "dataId": "histogram_result" }], "dataInfos": [{ "id": "histogram_result", "locationId": "result_table", "dataType": "json" }] } |
Examples
Success response
JSON format
{
"requestId": "A84A1282-D3E7-5198-9E8E-2AD09C78C6C1",
"VisualizationMeta": [
{
"NodeId": "node_id1",
"NodeName": "直方图_1",
"Meta": "{\n\t\"locations\": [{\n\t\t\"id\": \"result_table\",\n\t\t\"location\": {\n\t\t\t\"project\": \"mulan_test_pre_1\",\n\t\t\t\"endpoint\": \"http://service.cn.maxcompute.aliyun-inc.com/api\",\n\t\t\t\"table\": \"pai_temp_flow_qzkkjqic95olnrel1w_node_7hc1rdsa99gy2msbvc_visualizationTable\"\n\t\t},\n\t\t\"locationType\": \"MaxComputeTable\"\n\t}],\n\t\"components\": [{\n\t\t\"id\": \"histogram-chart\",\n\t\t\"dataId\": \"histogram_result\"\n\t}],\n\t\"dataInfos\": [{\n\t\t\"id\": \"histogram_result\",\n\t\t\"locationId\": \"result_table\",\n\t\t\"dataType\": \"json\"\n\t}]\n}"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.