Create or update a durable function
Changed onUpload a durable function source bundle. Creates the function on the first call for a name and redeploys it on every call after that, the same create-or-update contract POST /projects/{id}/functions has.
Volcano builds and deploys asynchronously. A deployment that starts immediately returns status: provisioning, then transitions to active or failed; a deployment that has to wait for a running one is exposed through pending_deployment_id. Existing executions keep running against the runtime they started on.
The durable configuration is derived from the project's plan rather than supplied here, and is fixed once the function exists. A name already held by a standard function is rejected with 409: a function cannot change kind.
Request
- Base URL: https://api.volcano.dev
- URL: https://api.volcano.dev/projects/{id}/durable-functions
- Auth: HTTP bearer
Path parameters
Project ID
Response
Existing durable function updated; its deployment was started or queued
Changes
- ○
added the new optional request property
- ○
request property
deprecated - ○
response property
is_publicdeprecated - ○
response property
is_publicdeprecated - ○
added the required property
to the response with the status - ○
added the required property
to the response with the status
- ○
- ○
endpoint added
- ○