How to access link of an item through API?

  • 17 March 2024
  • 2 replies
  • 28 views

Badge

I have a large board with 650 items, some of those items contain links (added via right click → "Edit Link”). How can I access these links via the REST API?

 

I can get the item itself via the boards/{{board_id}}/shapes/{{item_id}  and that includes a "links” key, but that only has the link to the item itself, not the link added via "Edit Link”.

Where is this data stored? How can I retrieve the added link for each item?


2 replies

Userlevel 7
Badge +12

@ba_tno - Interesting. I am seeing this too. I see the information is stored in linkedTo (accessible via the Web SDK), so I am curios to see if there is any way to get to this using the REST API.

 

Userlevel 6
Badge +4

Hey @ba_tno,

Thanks for reaching out about this, and good question. While it’s a great suggestion to expose the item `linkedTo` property in the REST API, this is currently only supported via our Web SDK. You can find more information on this here.

That said, I can definitely appreciate the use case and am happy to share this feedback internally. 

If you're so inclined, you might also consider adding this as feature request on our roadmap here:
https://developers.miro.com/page/roadmap 
(see the "+ submit" button)

Thanks again for raising it,
Will

Reply