Skip to Content
OpenETL
ReferenceAPIPipeline Service

Read quarantine file

The first lines of one of the files ListQuarantine lists, which a runner of the pipeline's data plane reads from its object storage. The records are the pipeline's data: the control plane hands them to the caller, and doesn't keep them. Each read is in the audit log. Fails with NOT_FOUND for a path ListQuarantine doesn't list, and UNAVAILABLE when no runner of the data plane takes the read within a minute.

GET
/v1/workspaces/{workspace}/pipelines/{pipeline}/quarantine:read

The first lines of one of the files ListQuarantine lists, which a runner of the pipeline's data plane reads from its object storage. The records are the pipeline's data: the control plane hands them to the caller, and doesn't keep them. Each read is in the audit log. Fails with NOT_FOUND for a path ListQuarantine doesn't list, and UNAVAILABLE when no runner of the data plane takes the read within a minute.

Path Parameters

workspace*string

The workspace id.

pipeline*string

The pipeline id.

Query Parameters

path?string

The file's path, as ListQuarantine gives it.

limit?integer

At most this many lines, from the first. 0: 20; at most 100.

Formatint32

Response Body

OK

application/json
  1. response
lines?array<string>

The file's first lines, each a JSON object with the quarantined record and why, without their newlines. They stop before the limit where the next would take them past 256 KiB.

more?boolean

The file has lines after these.

Example Request
curl -X GET 'http://localhost:8080/v1/workspaces/string/pipelines/string/quarantine:read'
Example Response
{  "lines": [    "string"  ],  "more": true}