Skip to main content
POST
/
api
/
v1
/
ingestion-configs
/
{ingestionConfigId}
/
flows
CreateIngestionConfigFlows
curl --request POST \
  --url https://your-sift-api-url.com/api/v1/ingestion-configs/{ingestionConfigId}/flows \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "flows": [
    {
      "name": "<string>",
      "channels": [
        {
          "name": "<string>",
          "component": "<string>",
          "unit": "<string>",
          "description": "<string>",
          "dataType": "CHANNEL_DATA_TYPE_UNSPECIFIED",
          "enumTypes": [
            {
              "name": "<string>",
              "key": 123,
              "isSigned": true
            }
          ],
          "bitFieldElements": [
            {
              "name": "<string>",
              "index": 123,
              "bitCount": 123
            }
          ]
        }
      ]
    }
  ]
}'
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

ingestionConfigId
string
required

Body

application/json

The request for a call to IngestionConfigService_CreateIngestionConfigFlows to create ingestion config flows.

flows
object[]

These flows must have unique names. If you try to send a flow with a name that already exists for an ingestion config, it will return an error.

Response

A successful response.

The result of a call to IngestionConfigService_CreateIngestionConfigFlows.