Skip to Content
OpenETL
ReferenceAPIPipeline Service

List pipeline versions

Newest first.

GET
/v1/workspaces/{workspace}/pipelines/{pipeline}/versions

Newest first.

Path Parameters

workspace*string

The workspace id.

pipeline*string

The pipeline id.

Query Parameters

pageSize?integer
Formatint32
pageToken?string

Response Body

OK

application/json
  1. response
pipelineVersions?array<>
nextPageToken?string
Example Request
curl -X GET 'http://localhost:8080/v1/workspaces/string/pipelines/string/versions'
Example Response
{  "pipelineVersions": [    {      "name": "string",      "spec": {        "mode": "PIPELINE_MODE_UNSPECIFIED",        "schedule": {          "every": "string",          "cron": "string",          "jitter": "string"        },        "dataPlane": "string",        "source": {          "ref": "string",          "streams": [            {              "name": "string",              "sync": "SYNC_MODE_UNSPECIFIED",              "cursor": "string",              "columns": {                "property1": {                  "type": "COLUMN_TYPE_UNSPECIFIED",                  "held": {                    "mode": "HELD_MODE_UNSPECIFIED",                    "value": "string"                  }                },                "property2": {                  "type": "COLUMN_TYPE_UNSPECIFIED",                  "held": {                    "mode": "HELD_MODE_UNSPECIFIED",                    "value": "string"                  }                }              },              "timestamps": "TIMESTAMP_UNIT_UNSPECIFIED",              "require": "DELIVERY_LEVEL_UNSPECIFIED",              "collapse": true,              "quarantine": "QUARANTINE_SCOPE_UNSPECIFIED",              "held": {                "mode": "HELD_MODE_UNSPECIFIED",                "value": "string"              },              "groups": [                {                  "columns": [                    "string"                  ]                }              ],              "typeChanges": "TYPE_CHANGES_UNSPECIFIED"            }          ]        },        "destination": {          "ref": "string",          "write": "WRITE_MODE_UNSPECIFIED",          "namespace": "string",          "naming": "NAMING_UNSPECIFIED",          "deletes": "DELETE_MODE_UNSPECIFIED",          "typeChanges": "TYPE_CHANGES_UNSPECIFIED",          "tables": {            "property1": "string",            "property2": "string"          }        },        "schemaPolicy": "SCHEMA_POLICY_UNSPECIFIED",        "delivery": {          "require": "DELIVERY_LEVEL_UNSPECIFIED",          "commit": {            "interval": "string",            "maxBytes": "string",            "scope": "COMMIT_SCOPE_UNSPECIFIED"          },          "resumePointTimeout": "string"        },        "types": {          "infinity": "INFINITY_UNSPECIFIED"        },        "postSync": [          {            "dbt": {              "project": "string",              "command": "DBT_COMMAND_UNSPECIFIED",              "select": "string",              "exclude": "string",              "schema": "string"            },            "spark": {              "cluster": "string",              "code": {                "jar": "string",                "python": "string",                "sha256": "string",                "mainClass": "string"              },              "args": [                "string"              ],              "conf": {                "property1": "string",                "property2": "string"              }            }          }        ],        "heal": {          "mode": "HEAL_MODE_UNSPECIFIED"        },        "transform": {          "spark": {            "cluster": "string",            "code": {              "jar": "string",              "python": "string",              "sha256": "string",              "mainClass": "string"            },            "conf": {              "property1": "string",              "property2": "string"            },            "outputs": [              {                "name": "string",                "primaryKey": [                  "string"                ],                "write": "WRITE_MODE_UNSPECIFIED",                "require": "DELIVERY_LEVEL_UNSPECIFIED"              }            ]          },          "flink": {            "cluster": "string",            "code": {              "jar": "string",              "sha256": "string",              "mainClass": "string"            },            "parallelism": 0,            "conf": {              "property1": "string",              "property2": "string"            },            "outputs": [              {                "name": "string",                "primaryKey": [                  "string"                ],                "write": "WRITE_MODE_UNSPECIFIED",                "require": "DELIVERY_LEVEL_UNSPECIFIED"              }            ]          }        },        "sparkAccess": {          "emrRole": "string",          "keys": {}        },        "flinkAccess": {          "emrRole": "string",          "keys": {}        },        "resources": {          "size": {            "preset": "string",            "cpuMillis": "string",            "memoryBytes": "string"          },          "min": {            "preset": "string",            "cpuMillis": "string",            "memoryBytes": "string"          },          "max": {            "preset": "string",            "cpuMillis": "string",            "memoryBytes": "string"          },          "finishWithin": "string",          "pool": "string"        }      },      "source": {        "name": "string",        "version": "string",        "spec": {          "connector": "string",          "config": {},          "aws": {            "role": "string",            "externalId": "string"          }        },        "connector": "string"      },      "destination": {        "name": "string",        "version": "string",        "spec": {          "connector": "string",          "config": {},          "aws": {            "role": "string",            "externalId": "string"          }        },        "connector": "string"      },      "dbt": {        "property1": "string",        "property2": "string"      },      "sparkClusters": {        "property1": "string",        "property2": "string"      },      "flinkClusters": {        "property1": "string",        "property2": "string"      },      "dataPlane": "string",      "provenance": "string",      "createTime": "2019-08-24T14:15:22Z",      "current": true    }  ],  "nextPageToken": "string"}