Skip to content

updateLayouts Example

Chris Churas edited this page Oct 18, 2024 · 2 revisions

Format of response for updateLayouts results.

[
  { 
    "action": "updateLayouts",
    "data":  [
               {
                  "id": number,
                  "x": number,
                  "y": number,
                  "z": number // Optional
               }
             ]
  }
]

Example:

[
  { 
    "action": "updateLayouts",
    "data":  [
               {
                  "id": 7,
                  "x": 25.2,
                  "y": -473.6,
               },
               {
                  "id": 100,
                  "x": 15,
                  "y": 100,
               }
             ]
  }
]