Publish function
eurobase_publish_functionPublishes HTTP Function code in a permitted project and starts its deployment. With name (lowercase letters, digits and hyphens) it creates a new Function; with functionId it replaces the code of an existing Function. The source is Deno TypeScript: entryPath names the file that serves requests and relative imports must be included in sourceFiles (at most 32 files and 128 KiB). authMode signed (the default for a new Function) accepts only signed requests; public serves anyone; when omitted for an existing Function its current mode is kept. The new version replaces the active one after a successful rollout; the previous version keeps serving if it fails. Returns once the deployment is accepted, before it is live. Function source code is never returned. The same idempotencyKey with the same input returns the same Function and deployment and completes the steps an interrupted call did not finish; with different input it is refused.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| authMode | No | ||
| entryPath | Yes | ||
| projectId | Yes | ||
| functionId | No | ||
| sourceFiles | Yes | ||
| triggerType | No | ||
| idempotencyKey | Yes |