Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.blobhub.io/llms.txt

Use this file to discover all available pages before exploring further.

Upload an object to the session storage.

POST /revisions/:id/data (Command: upload_session_object)

Request Body

ParameterTypeRequiredDescription
enginestringYesMust be workflow_blobhub.
commandstringYesMust be upload_session_object.
session_idstringYesThe ID of the session.
aliasstringYesUnique alias for the object.
valueobjectYesThe JSON object to store.

Response

Returns an empty JSON object upon success.
When value.type is "thread", this command creates or updates the thread envelope only. Items are appended via post_session_thread_item. Deleting the envelope cascades and removes all items.

Example

{
  "engine": "workflow_blobhub",
  "command": "upload_session_object",
  "session_id": "sess_001",
  "alias": "config",
  "value": { "debug": true }
}