Adding a "sticker" to a Frame or Grid using the Miro REST API

  • 22 May 2020
  • 2 replies

Is it possible to add a “sticker” to either the Grid or Frame widgets using the Miro REST API? I’m successfully adding “stickers” to boards at specified x and y co-ordinates, but I can’t seem to find a way of setting the “stickers” parent.


Best answer by Steve Appling 12 July 2020, 20:03

View original

2 replies

Hi @Ashley Rawbone,

I don’t think this is currently possible, looking at the API documentation Frame is set as `readonly` & Grid is not supported yet. Plus as you already figured out there is no way to set the widget parent.

Userlevel 2
Badge +2

You can set the parentFrameId property of the sticker to the ID of the frame.  This doesn’t seem to be documented, but it is done in the GitHub Issue Importer example.  I’m using this technique in my application and it seems to work fine.  I haven’t tried with a Grid.