v3

latestOpenAPI 3.1.02026-08-01389986.6 KB
Function

Attach function

Attaches a function to a collection.

post/api/v2/tenants/{tenant}/databases/{database}/collections/{collection_id}/functions/attach

Path parameters

tenantstring required

Tenant UUID

databasestring required

Database name

collection_idstring required

Collection UUID

Request body

function_idstring required
namestring required
output_collectionstring required
{"stackTrail":"components:schemas:AttachFunctionRequest:properties:params","oasType":"schema","type":"unknown"}

Response

Function attached successfully

createdboolean required

True if newly created, false if already existed (idempotent request).