Skip to main content
Answered

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


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

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.

View original
Was it helpful?

2 replies

Ahmed El Gabri
Mironeer

Hi @Ashley Rawbone,

I don’t think this is currently possible, looking at the API documentation https://developers.miro.com/reference#widget-types 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.


Steve Appling
Forum|alt.badge.img+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.


Reply