Scene
APIs for independent scene creation, editing, query, space association, execution, and deletion
đī¸ Create A Scene
You can create a scene by this API. A scene consists of actions and optional metadata; it has no starters, conditions, or enabled flag. The target ID for updates is in the body; success means the request was accepted. For batch operations, check the result of each item.
đī¸ Execute A Scene
You can execute a scene by this API. Success means the request was accepted, not that all actions have completed; do not blindly retry scenes with side effects after a timeout.
đī¸ Update A Scene
You can update a scene by this API. A scene consists of actions and optional metadata; it has no starters, conditions, or enabled flag. The target ID for updates is in the body; success means the request was accepted. For batch operations, check the result of each item.
đī¸ Associate Scene with Space
Call this API to replace each scene's direct space associations as a whole. `spaceIds` supports multiple IDs; an empty array clears direct associations. The legacy single-space `spaceId` parameter remains compatible; only one non-null form may be provided. Batch operations return `successIds` / `failedItems` item by item. Partial success still returns code=0; all failures return code=2023, REST HTTP 400.
đī¸ Query Scene Details
You can query a scene details by this API. A scene consists of actions and optional metadata; it has no starters, conditions, or enabled flag. The target ID for updates is in the body; success means the request was accepted. For batch operations, check the result of each item.
đī¸ List Scenes
You can query a scene list by this API. A scene consists of actions and optional metadata; it has no starters, conditions, or enabled flag. The target ID for updates is in the body; success means the request was accepted. For batch operations, check the result of each item.
đī¸ Delete Scenes
You can delete multiple scenes by this API. A scene consists of actions and optional metadata; it has no starters, conditions, or enabled flag. The target ID for updates is in the body; success means the request was accepted. For batch operations, check the result of each item.