Durable Functions
Open a messages session from inside a workflow
Changed onOpens the session a workflow publishes messages with. The Volcano SDK calls this once per workflow context, on its first ctx.publish; applications do not call it directly.
As for a wait, execution_ref and callback_id are the credential. The session's token is delivered to the workflow itself and never appears in a response.
Retrying is safe: a request for a session that is already registered returns it with 200.
post/durable-messages/sessions
Request
- Base URLhttps://api.volcano.dev
- Authnone required
Request body
Open Durable Message Session Request required
execution_ref, string required
Opaque reference to the running execution, supplied by the SDK.
callback_id, string required
Opaque session reference, supplied by the SDK.
Response
The session was already registered
Durable Message Session Registration required
The registered session. Its token reaches the workflow through the workflow itself, never in this response.
id, string uuid required
Changes
- info
endpoint added
- info