POST
/
api
/
ledger
/
v2
/
{ledger}
/
pipelines
Create pipeline
curl --request POST \
  --url http://localhost/api/ledger/v2/{ledger}/pipelines \
  --header 'Content-Type: application/json' \
  --data '{
  "exporterID": "<string>"
}'
{
  "data": {
    "ledger": "<string>",
    "exporterID": "<string>",
    "id": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "lastLogID": 123,
    "enabled": true
  }
}

Path Parameters

ledger
string
required

Name of the ledger.

Example:

"ledger001"

Body

application/json
exporterID
string
required

Response

Created ipeline

data
object
required