Creates a node in Data Studio.
Operation description
Debugging
Authorization information
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
ProjectId | string | Yes | The DataWorks workspace ID. You can log on to the DataWorks console and go to the Workspace page to query the ID. You must configure this parameter to specify the DataWorks workspace to which the API operation is applied. | 123456 |
ContainerId | string | No | The container ID. If you want to create a node in a container, you must configure this parameter to specify the container. The container can be a workflow or a node in a container. Note
If you configure this parameter, the path field defined in FlowSpec becomes invalid.
| a7ef0634-20ec-4a7c-a214-54020f91XXXX |
Scene | string | Yes | The scene of the node. This parameter determines the location (the DataStudio pane or the Manual pane) of the node. You can set this parameter to DATAWORKS_MANUAL_WORKFLOW only if the ContainerId parameter is configured and the container specified by ContainerId is a manually triggered workflow. Valid values:
| DATAWORKS_PROJECT |
Spec | string | Yes | The FlowSpec field information about the node. For more information, see FlowSpec . |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "AFBB799F-8578-51C5-A766-E922EDB8XXXX",
"Id": "860438872620113XXXX"
}
Error codes
For a list of error codes, visit the Service error codes.