본문으로 건너뛰기

PipelineCreate

Payload used to create Pipeline. Required fields are name, type, collection_id, steps.

nameName (string)필수
alias object
하나 이상(anyOf)
string
typeType (string)필수

Pipeline execution mode: 'batch' or 'event' (required)

Possible values: [batch, event]

collection_idCollection Id (string)필수

Parent collection ID (required)

Possible values: non-empty

folder_id object
하나 이상(anyOf)
string
tags object
하나 이상(anyOf)
  • Array [
  • string
  • ]
  • description object
    하나 이상(anyOf)
    string
    steps object[]필수

    Execution steps

  • Array [
  • nameName (string)필수

    Step name

    alias object
    하나 이상(anyOf)
    string
    description object

    Step-owned description, independent of the referenced Code's description so steps sharing one Code can be labeled distinctly.

    하나 이상(anyOf)
    string
    script object

    Code resource ID to execute (code step)

    하나 이상(anyOf)
    string
    transform object

    Native transform spec (transform step)

    하나 이상(anyOf)
    op필수

    Possible values: [aggregate, join, rename_cast, select_filter, union]

    versionVersion (integer)
    상수 값: 1
    기본값: 1
    config object필수

    Config for the aggregate op: group-by + allowlisted aggregate functions. An empty group_by aggregates the whole input to a single row. input is a port key.

    inputInput (string)필수

    Input port key

    group_bystring[]

    Grouping columns (empty = whole-input aggregate)

    aggregations object[]필수

    Aggregations (non-empty)

  • Array [
  • functionFunction (string)필수

    Allowlisted aggregate function

    Possible values: [sum, count, avg, min, max]

    column object

    Aggregated column (omit only for count)

    하나 이상(anyOf)
    string
    aliasAlias (string)필수

    Output column name

  • ]
  • inputs object

    Input dataset mapping

    하나 이상(anyOf)
    object
    outputs object

    Output dataset mapping

    하나 이상(anyOf)
    object
    dependencies object

    List of dependent step names

    하나 이상(anyOf)
  • Array [
  • string
  • ]
  • options object
    하나 이상(anyOf)
    object
    secrets object

    Secret values to inject into contexts['secrets']

    하나 이상(anyOf)
  • Array [
  • nameName (string)필수

    contexts['secrets'] key the step reads

    refRef (string)필수

    Secret reference, e.g. secret://secret./token

  • ]
  • ]
  • options object
    하나 이상(anyOf)
    object
    metadata object
    하나 이상(anyOf)
    object
    PipelineCreate
    {
    "name": "string",
    "alias": "string",
    "type": "batch",
    "collection_id": "string",
    "folder_id": "string",
    "tags": [
    "string"
    ],
    "description": "string",
    "steps": [
    {
    "name": "string",
    "alias": "string",
    "description": "string",
    "script": "string",
    "transform": {
    "version": 1,
    "op": "select_filter",
    "config": {
    "input": "string",
    "columns": [
    {
    "name": "string",
    "alias": "string"
    }
    ],
    "where": {
    "kind": "and",
    "conditions": [
    {
    "kind": "condition",
    "column": "string",
    "operator": "eq"
    },
    null
    ]
    }
    }
    },
    "inputs": {},
    "outputs": {},
    "dependencies": [
    "string"
    ],
    "options": {},
    "secrets": [
    {
    "name": "string",
    "ref": "string"
    }
    ]
    }
    ],
    "options": {},
    "metadata": {}
    }