UDF

Create UDF version

Changed on

Consumes a source archive, assigns a version, and starts the UDF build. Optional configuration fields omitted from the request use the defaults documented in the request schema; values are not inherited from the previous version. Retry by requesting a new upload URL and re-uploading.

post/v1/organizations/{organizationId}/udfs/{functionName}/versions

Request

  • Base URL
    https://api.clickhouse.cloud
  • Auth
    HTTP basic

Path parameters

organizationId, string uuid required

ID of the requested organization.

functionName, string required

Name of the UDF.

Request body

union required
object required
OR
object required

Response

UDF version created and building.

object required
status, integer required

HTTP status code.

requestId, string uuid required

Unique id assigned to every request. UUIDv4

result, Udf required

Example response

{
  "status": 201,
  "result": {
    "version": 1
  }
}

Changes

    • breaking

      removed subschema #1 subschema #2 from the request body oneOf list

    • info

      added subschema #1 subschema #2 to the request body oneOf list

    • info

      the security scope control-plane:organization:manage-udfs was added to the endpoint's security scheme basicAuth

    1 more change in this revision