CreatePipeline
Creates a pipeline.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cms:CreatePipeline |
create |
*Pipeline
|
None | None |
Request syntax
POST /workspace/{workspace}/pipeline HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| workspace |
string |
No |
The name of the workspace. |
workspace-test |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request body. |
|
| pipelineName |
string |
No |
The name of the pipeline. |
pipeline-name-1 |
| description |
string |
No |
The description. |
test |
| pipeline |
object |
No |
The pipeline information. |
|
| nodes |
array<object> |
No |
The nodes. |
|
|
array<object> |
No |
The nodes. |
||
| id |
string |
No |
The node ID. |
node_1 |
| type |
string |
No |
The node type. |
dedup-fuzzy |
| parameters |
object |
No |
The parameters. |
{"output":"ID,key_0,key_2,key_3,key_4","workspace":"workspace-test-dataset","field":"key_0","global":true,"dataset":"dataset_1"} |
|
any |
No |
The parameters. |
{ "output": "ID,key_0,key_2,key_3,key_4", "workspace": "workspace-test-dataset", "field": "key_0", "global": true, "dataset": "dataset_1" } |
|
| source |
object |
No |
The data source. |
|
| type |
string |
No |
The data source type. |
logstore |
| logstore |
object |
No |
The Logstore information. |
|
| project |
string |
No |
The name of the project. |
test-project |
| logstore |
string |
No |
The name of the Logstore. |
test-logstore |
| query |
string |
No |
The filter statement. |
status:500 and method:GET |
| sink |
object |
No |
The destination. |
|
| type |
string |
No |
The destination type. |
dataset |
| dataset |
object |
No |
The dataset information. |
|
| workspace |
string |
No |
The workspace ID. |
workspace-test |
| dataset |
string |
No |
The dataset. |
dataset_1 |
| executePolicy |
object |
No |
The execution policy. |
|
| mode |
string |
No |
The execution mode. |
runOnce |
| runOnce |
object |
No |
The configuration for one-time execution. |
|
| fromTime |
integer |
No |
The start timestamp. |
1772519013 |
| toTime |
integer |
No |
The end timestamp. |
1772519013 |
| scheduled |
object |
No |
The configuration for scheduled execution. |
|
| interval |
string |
No |
The time interval. |
86400 |
| fromTime |
integer |
No |
The start timestamp. |
1772519013 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response data. |
||
| requestId |
string |
The request ID. |
0CEC5375-C554-562B-A65F-*** |
Examples
Success response
JSON format
{
"requestId": "0CEC5375-C554-562B-A65F-***"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.