update_block
Reposition, resize, edit content or visibility of a DAKboard screen block using 1920x1080 design coordinates. Use visualize_screen_layout first to preview layout.
Instructions
Update a block on a DAKboard screen (position, size, content, visibility). IMPORTANT: DAKboard uses non-linear per-block coordinate scaling. The API coordinate values (x, y, w, h) do NOT map 1:1 to screen pixels, and updating a block changes its scaling factor permanently. Use rendered pixel values at 1920x1080 design resolution as coordinate values. Use visualize_screen_layout with screen_uuid first to see the actual layout before making changes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| h | No | Height in pixels at 1920x1080 design resolution | |
| w | No | Width in pixels at 1920x1080 design resolution | |
| x | No | X position in pixels at 1920x1080 design resolution | |
| y | No | Y position in pixels at 1920x1080 design resolution | |
| url | No | URL content | |
| name | No | Block name | |
| text | No | Text content | |
| z_index | No | Z-index for layering | |
| block_id | Yes | The block ID | |
| screen_id | Yes | The DAKboard screen ID | |
| is_disabled | No | Disable block (0 or 1) |