Skip to main content

Hi,

 

this topic is maybe connected to https://community.miro.com/developer-platform-and-apis-57/unable-to-get-card-metadata-with-rest-api-1921. But in my opinion it was not answered becuase the question was about widgetType=CARD and the answer was widgetType=STICKER. So:

  1. I created a CARD via REST API (POST https://api.miro.com/v1/boards/${this._miro.boardId}/widgets ) with a metadata.
  2. I created a STICKER via REST API (POST https://api.miro.com/v1/boards/${this._miro.boardId}/widgets ) with the exact same metadata object like in 1.
  3. In the Browsers DEV Console I did a miro.board.widgets.get({id: "<id of the created STICKER>"}) → Result: the metadata was returned as expected
  4. In the Browsers DEV Console I did a miro.board.widgets.get({id: "<id of the created CARD>"}) → Result: the metadata object was empty. Expected was the same metadata content like in 3.

So for me the behaviour for CARDs is different from the behaviour of STICKERs. Does this somehow make sense? Sorry if not reproducable. In this case ignore / mark as answered.

Reply