Blocks
Create block
POST /api/pipelines/:pipeline_uuid/blocks
Create a new block in one or more pipelines.
Human readable block name. This is used to generate the UUID, e.g.
restless dust. Names will be slugified to a safe-uuid.Type of block:
callback, chart, conditional, custom, data_exporter, data_loader, dbt, extension, global_data_product, markdown, scratchpad, sensor, transformerBlock color displayed by the frontend. If omitted or not recognized, the frontend uses the block type’s default color.
An optional parameter specifying a block configuration file For example,
{data_source: "s3"} will create an s3 data loader.The content of block formatted as a string. Use
/n for newlines. Omitting will create an empty block.UUID of extensions, currently Great Expectations is the only extension supported.
An array of strings representing the uuids of upstream blocks (the blocks on which the new block depends). For example,
["a", "b"] will create a block that depends on blocks a and b.The unique id of the block. This is generated from
name, so it’s not necessary to populate this field.