Skip to main content

How to connect two shapes with a line using the REST API v2.0?

  • May 22, 2022
  • 1 reply
  • 76 views

Hi there,

Using the REST API v2.0 I’ve created two basic round_rectangle shapes and I’ve retained their IDs from the JSON response. How do I create a line that connects the two shapes using the REST API?

It would be great if I could also set the following for the line if possible:

  • The line’s colour and line style (dots/dashes).
  • The start-end arrow head style.

Thanks in advance.

Was it helpful?

1 reply

Max Harper
Forum|alt.badge.img+6
  • Miro Hero
  • 373 replies
  • May 22, 2022

@Shane Fitzroy  The CRUD for ‘connector’ is currently in progress for the API and SDK.  You can find and follow that feature ticket on the platform roadmap here.


Reply