create_function
Compile and publish a custom function for an application.
Input schema
Section titled “Input schema”{ "additionalProperties": false, "properties": { "application_id": { "title": "Application Id", "type": "string" }, "idempotency_key": { "title": "Idempotency Key", "type": "string" }, "name": { "title": "Name", "type": "string" }, "source": { "title": "Source", "type": "string" } }, "required": [ "application_id", "name", "source", "idempotency_key" ], "title": "create_functionArguments", "type": "object"}Output schema
Section titled “Output schema”{ "properties": { "createdAt": { "format": "date-time", "title": "Createdat", "type": "string" }, "id": { "format": "uuid", "title": "Id", "type": "string" }, "name": { "title": "Name", "type": "string" }, "runsAs": { "description": "Identity policy a platform function declares for host enforcement.", "enum": [ "caller", "application" ], "title": "FunctionRunsAs", "type": "string" }, "source": { "title": "Source", "type": "string" }, "status": { "title": "Status", "type": "string" }, "updatedAt": { "format": "date-time", "title": "Updatedat", "type": "string" }, "version": { "title": "Version", "type": "integer" } }, "required": [ "id", "name", "source", "version", "status", "runsAs", "createdAt", "updatedAt" ], "title": "FunctionResponse", "type": "object"}