POST /accounts/{account_id}/pipelines/v1/streams
Create a new Stream.
Servers
- https://api.cloudflare.com/client/v4
Path parameters
Name | Type | Required | Description |
---|---|---|---|
account_id |
String | Yes |
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
Name | Type | Required | Description |
---|---|---|---|
format |
No | ||
name |
String | Yes |
Specifies the name of the Stream. |
worker_binding |
Object | No |
Default value: { "enabled": true } |
worker_binding.enabled |
Boolean | Yes | |
schema |
Object | No | |
schema.format |
No | ||
schema.inferred |
Boolean | No | |
schema.fields[] |
Array | No | |
schema.fields[].sql_name |
String | No | |
schema.fields[].name |
String | Yes | |
schema.fields[].required |
Boolean | No | |
schema.fields[].metadata_key |
String | No | |
http |
Object | No |
Default value: { "enabled": true, "authentication": false } |
http.enabled |
Boolean | Yes | |
http.authentication |
Boolean | Yes | |
http.cors |
Object | No |
Specifies the CORS options for the HTTP endpoint. |
http.cors.origins[] |
Array | No |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.