cURL
curl --request PATCH \ --url https://api.example.com/api/v1/beam/{config_id}/transforms/{transform_uid}
Updates a single transform by UID and redeploys the pipeline.
PATCH /api/v1/beam/{config_id}/transforms/{transform_uid}
config_id
transform_uid
BeamTransformerConfig
curl -X PATCH https://api.allium.so/api/v1/beam/${CONFIG_ID}/transforms/${TRANSFORM_UID} \ -H "X-API-Key: ${ALLIUM_API_KEY}" \ -H "Content-Type: application/json" \ -d '{ "type": "v8", "script": "function transform(record) { record.parsed = true; return record; }" }'
curl -X PATCH https://api.allium.so/api/v1/beam/${CONFIG_ID}/transforms/${TRANSFORM_UID} \ -H "X-API-Key: ${ALLIUM_API_KEY}" \ -H "Content-Type: application/json" \ -d '{ "type": "redis_set_filter", "filter_expr": "root = this.address" }'
Was this page helpful?