generate_adapter
Poll a REST endpoint and map its fields to a control surface layout's synced value paths, using an optional layout JSON or the working buffer.
Instructions
Generate a REST-poll → MeshSocket adapter that maps an API's fields to a layout's synced valuePaths. Uses the working buffer if no layout_json is given.
Args: base_url: The REST endpoint to poll. layout_json: Optional layout JSON; defaults to the working buffer.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base_url | No | https://api.example.com | |
| layout_json | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |