Pipelines (2)·续3

filename: optional string

Specifies the name pattern to for individual data files.

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_get_response%20%3E%20(schema)%20%3E%20(property)%20destination%20%3E%20(property)%20path%20%3E%20(property)%20filename">Link to this property</a>

filepath: optional string

Specifies the name pattern for directory.

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_get_response%20%3E%20(schema)%20%3E%20(property)%20destination%20%3E%20(property)%20path%20%3E%20(property)%20filepath">Link to this property</a>

prefix: optional string

Specifies the base directory within the bucket.

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_get_response%20%3E%20(schema)%20%3E%20(property)%20destination%20%3E%20(property)%20path%20%3E%20(property)%20prefix">Link to this property</a>

</details>

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_get_response%20%3E%20(schema)%20%3E%20(property)%20destination%20%3E%20(property)%20path">Link to this property</a>

type: "r2"

Specifies the type of destination.

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_get_response%20%3E%20(schema)%20%3E%20(property)%20destination%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_get_response%20%3E%20(schema)%20%3E%20(property)%20destination">Link to this property</a>

endpoint: string

Indicates the endpoint URL to send traffic.

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_get_response%20%3E%20(schema)%20%3E%20(property)%20endpoint">Link to this property</a>

name: string

Defines the name of the pipeline.

maxLength128

minLength1

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_get_response%20%3E%20(schema)%20%3E%20(property)%20name">Link to this property</a>

<details>

<summary>

source: array of object {format, type, authentication, cors } or object {format, type }

</summary>

One of the following:

<details>

<summary>

CloudflarePipelinesWorkersPipelinesHTTPSource object {format, type, authentication, cors }

[DEPRECATED] HTTP source configuration. Use the new streams API instead.

</summary>

format: "json"

Specifies the format of source data.

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_get_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(items)%20%3E%20(variant)%200%20%3E%20(property)%20format">Link to this property</a>

type: string

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_get_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(items)%20%3E%20(variant)%200%20%3E%20(property)%20type">Link to this property</a>

authentication: optional boolean

Specifies whether authentication is required to send to this pipeline via HTTP.

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_get_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(items)%20%3E%20(variant)%200%20%3E%20(property)%20authentication">Link to this property</a>

<details>

<summary>

cors: optional object {origins }

</summary>

origins: optional array of string

Specifies allowed origins to allow Cross Origin HTTP Requests.

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_get_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(items)%20%3E%20(variant)%200%20%3E%20(property)%20cors%20%3E%20(property)%20origins">Link to this property</a>

</details>

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_get_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(items)%20%3E%20(variant)%200%20%3E%20(property)%20cors">Link to this property</a>

</details>

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_get_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(items)%20%3E%20(variant)%200">Link to this property</a>

<details>

<summary>

CloudflarePipelinesWorkersPipelinesBindingSource object {format, type }

[DEPRECATED] Worker binding source configuration. Use the new streams API instead.

</summary>

format: "json"

Specifies the format of source data.

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_get_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(items)%20%3E%20(variant)%201%20%3E%20(property)%20format">Link to this property</a>

type: string

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_get_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(items)%20%3E%20(variant)%201%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_get_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(items)%20%3E%20(variant)%201">Link to this property</a>

</details>

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_get_response%20%3E%20(schema)%20%3E%20(property)%20source">Link to this property</a>

version: number

Indicates the version number of last saved configuration.

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_get_response%20%3E%20(schema)%20%3E%20(property)%20version">Link to this property</a>

</details>

Link to this property

<details>

<summary>

PipelineCreateResponse object {id, destination, endpoint, 3 more }

[DEPRECATED] Describes the configuration of a pipeline. Use the new streams/sinks/pipelines API instead.

</summary>

id: string

Specifies the pipeline identifier.

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_create_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

<details>

<summary>

destination: object {batch, compression, format, 2 more }

</summary>

<details>

<summary>

batch: object {max_bytes, max_duration_s, max_rows }

</summary>

max_bytes: number

Specifies rough maximum size of files.

maximum100000000

minimum1000

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_create_response%20%3E%20(schema)%20%3E%20(property)%20destination%20%3E%20(property)%20batch%20%3E%20(property)%20max_bytes">Link to this property</a>

max_duration_s: number

Specifies duration to wait to aggregate batches files.

maximum300

minimum0.25

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_create_response%20%3E%20(schema)%20%3E%20(property)%20destination%20%3E%20(property)%20batch%20%3E%20(property)%20max_duration_s">Link to this property</a>

max_rows: number

Specifies rough maximum number of rows per file.

maximum10000000

minimum100

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_create_response%20%3E%20(schema)%20%3E%20(property)%20destination%20%3E%20(property)%20batch%20%3E%20(property)%20max_rows">Link to this property</a>

</details>

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_create_response%20%3E%20(schema)%20%3E%20(property)%20destination%20%3E%20(property)%20batch">Link to this property</a>

<details>

<summary>

compression: object {type }

</summary>

<details>

<summary>

type: "none"or "gzip"or "deflate"

Specifies the desired compression algorithm and format.

</summary>

One of the following:

"none"

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_create_response%20%3E%20(schema)%20%3E%20(property)%20destination%20%3E%20(property)%20compression%20%3E%20(property)%20type%20%3E%20(member)%200">Link to this property</a>

"gzip"

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_create_response%20%3E%20(schema)%20%3E%20(property)%20destination%20%3E%20(property)%20compression%20%3E%20(property)%20type%20%3E%20(member)%201">Link to this property</a>

"deflate"

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_create_response%20%3E%20(schema)%20%3E%20(property)%20destination%20%3E%20(property)%20compression%20%3E%20(property)%20type%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_create_response%20%3E%20(schema)%20%3E%20(property)%20destination%20%3E%20(property)%20compression%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_create_response%20%3E%20(schema)%20%3E%20(property)%20destination%20%3E%20(property)%20compression">Link to this property</a>

format: "json"

Specifies the format of data to deliver.

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_create_response%20%3E%20(schema)%20%3E%20(property)%20destination%20%3E%20(property)%20format">Link to this property</a>

<details>

<summary>

path: object {bucket, filename, filepath, prefix }

</summary>

bucket: string

Specifies the R2 Bucket to store files.

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_create_response%20%3E%20(schema)%20%3E%20(property)%20destination%20%3E%20(property)%20path%20%3E%20(property)%20bucket">Link to this property</a>

filename: optional string

Specifies the name pattern to for individual data files.

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_create_response%20%3E%20(schema)%20%3E%20(property)%20destination%20%3E%20(property)%20path%20%3E%20(property)%20filename">Link to this property</a>

filepath: optional string

Specifies the name pattern for directory.

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_create_response%20%3E%20(schema)%20%3E%20(property)%20destination%20%3E%20(property)%20path%20%3E%20(property)%20filepath">Link to this property</a>

prefix: optional string

Specifies the base directory within the bucket.

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_create_response%20%3E%20(schema)%20%3E%20(property)%20destination%20%3E%20(property)%20path%20%3E%20(property)%20prefix">Link to this property</a>

</details>

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_create_response%20%3E%20(schema)%20%3E%20(property)%20destination%20%3E%20(property)%20path">Link to this property</a>

type: "r2"

Specifies the type of destination.

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_create_response%20%3E%20(schema)%20%3E%20(property)%20destination%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_create_response%20%3E%20(schema)%20%3E%20(property)%20destination">Link to this property</a>

endpoint: string

Indicates the endpoint URL to send traffic.

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_create_response%20%3E%20(schema)%20%3E%20(property)%20endpoint">Link to this property</a>

name: string

Defines the name of the pipeline.

maxLength128

minLength1

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_create_response%20%3E%20(schema)%20%3E%20(property)%20name">Link to this property</a>

<details>

<summary>

source: array of object {format, type, authentication, cors } or object {format, type }

</summary>

One of the following:

<details>

<summary>

CloudflarePipelinesWorkersPipelinesHTTPSource object {format, type, authentication, cors }

[DEPRECATED] HTTP source configuration. Use the new streams API instead.

</summary>

format: "json"

Specifies the format of source data.

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_create_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(items)%20%3E%20(variant)%200%20%3E%20(property)%20format">Link to this property</a>

type: string

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_create_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(items)%20%3E%20(variant)%200%20%3E%20(property)%20type">Link to this property</a>

authentication: optional boolean

Specifies whether authentication is required to send to this pipeline via HTTP.

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_create_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(items)%20%3E%20(variant)%200%20%3E%20(property)%20authentication">Link to this property</a>

<details>

<summary>

cors: optional object {origins }

</summary>

origins: optional array of string

Specifies allowed origins to allow Cross Origin HTTP Requests.

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_create_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(items)%20%3E%20(variant)%200%20%3E%20(property)%20cors%20%3E%20(property)%20origins">Link to this property</a>

</details>

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_create_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(items)%20%3E%20(variant)%200%20%3E%20(property)%20cors">Link to this property</a>

</details>

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_create_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(items)%20%3E%20(variant)%200">Link to this property</a>

<details>

<summary>

CloudflarePipelinesWorkersPipelinesBindingSource object {format, type }

[DEPRECATED] Worker binding source configuration. Use the new streams API instead.

</summary>

format: "json"

Specifies the format of source data.

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_create_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(items)%20%3E%20(variant)%201%20%3E%20(property)%20format">Link to this property</a>

type: string

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_create_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(items)%20%3E%20(variant)%201%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_create_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(items)%20%3E%20(variant)%201">Link to this property</a>

</details>

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_create_response%20%3E%20(schema)%20%3E%20(property)%20source">Link to this property</a>

version: number

Indicates the version number of last saved configuration.

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_create_response%20%3E%20(schema)%20%3E%20(property)%20version">Link to this property</a>

</details>

Link to this property

<details>

<summary>

PipelineUpdateResponse object {id, destination, endpoint, 3 more }

[DEPRECATED] Describes the configuration of a pipeline. Use the new streams/sinks/pipelines API instead.

</summary>

id: string

Specifies the pipeline identifier.

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_update_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

<details>

<summary>

destination: object {batch, compression, format, 2 more }

</summary>

<details>

<summary>

batch: object {max_bytes, max_duration_s, max_rows }

</summary>

max_bytes: number

Specifies rough maximum size of files.

maximum100000000

minimum1000

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_update_response%20%3E%20(schema)%20%3E%20(property)%20destination%20%3E%20(property)%20batch%20%3E%20(property)%20max_bytes">Link to this property</a>

max_duration_s: number

Specifies duration to wait to aggregate batches files.

maximum300

minimum0.25

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_update_response%20%3E%20(schema)%20%3E%20(property)%20destination%20%3E%20(property)%20batch%20%3E%20(property)%20max_duration_s">Link to this property</a>

max_rows: number

Specifies rough maximum number of rows per file.

maximum10000000

minimum100

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_update_response%20%3E%20(schema)%20%3E%20(property)%20destination%20%3E%20(property)%20batch%20%3E%20(property)%20max_rows">Link to this property</a>

</details>

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_update_response%20%3E%20(schema)%20%3E%20(property)%20destination%20%3E%20(property)%20batch">Link to this property</a>

<details>

<summary>

compression: object {type }

</summary>

<details>

<summary>

type: "none"or "gzip"or "deflate"

Specifies the desired compression algorithm and format.

</summary>

One of the following:

"none"

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_update_response%20%3E%20(schema)%20%3E%20(property)%20destination%20%3E%20(property)%20compression%20%3E%20(property)%20type%20%3E%20(member)%200">Link to this property</a>

"gzip"

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_update_response%20%3E%20(schema)%20%3E%20(property)%20destination%20%3E%20(property)%20compression%20%3E%20(property)%20type%20%3E%20(member)%201">Link to this property</a>

"deflate"

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_update_response%20%3E%20(schema)%20%3E%20(property)%20destination%20%3E%20(property)%20compression%20%3E%20(property)%20type%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_update_response%20%3E%20(schema)%20%3E%20(property)%20destination%20%3E%20(property)%20compression%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_update_response%20%3E%20(schema)%20%3E%20(property)%20destination%20%3E%20(property)%20compression">Link to this property</a>

format: "json"

Specifies the format of data to deliver.

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_update_response%20%3E%20(schema)%20%3E%20(property)%20destination%20%3E%20(property)%20format">Link to this property</a>

<details>

<summary>

path: object {bucket, filename, filepath, prefix }

</summary>

bucket: string

Specifies the R2 Bucket to store files.

<a href="#(resource)%20pipelines%20%3E%20(model)%20pipeline_update_response%20%3E%20(schema)%20%3E%20(property)%20destination%20%3E%20(property)%20path%20%3E%20(property)%20bucket">Link to this property</a>