cURL
curl --request POST \ --url http://localhost:5300/api/v1/pipelines \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data ' { "name": "<string>", "config": {} } '
200
Example
{ "code": 0, "msg": "ok", "data": { "uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a" } }
Create and configure a new pipeline
API Key authentication using X-API-Key header. Example: X-API-Key: lbk_your_api_key_here
X-API-Key: lbk_your_api_key_here
Pipeline created successfully
0
"ok"
表示 子属性