How to get/upload image-data for a widget through the REST-API (url is null)

  • 12 November 2020
  • 8 replies
  • 733 views

Userlevel 2
Badge +1

Hi,

We have created a nice integration through your nice api. Widget stickers, frames etc do work fine. But accessing the data of Widgettype “Image” does not provide sufficient information.

your documentation says this type would be readonly. But in the API result there is no specific data to get the image:

 "id" : "xxxx",
    "title" : "",
    "url" : null,
    "x" : 9085.834285822924,
    "y" : -4194.224152236103,
    "width" : null,
    "scale" : 1.6019392388194886,
    "rotation" : 0.0,
    "type" : "image",
    "createdAt" : "2020-11-12T15:25:13Z",
    "modifiedAt" : "2020-11-12T16:14:18Z",
    "modifiedBy" : {

 

The GetPicture API (https://developers.miro.com/reference#get-picture) seems only applicable for main boardpictures and not images an a frame (as far I can see)

So how can we retreive the images on a board? (and we would also upload new ones...)
Thnx


8 replies

Userlevel 1
Badge

Hello @Richard121212, thank you for your question.
This is indeed a bug on our side, relevant team has been notified and hopefully they work on the fix already.
In regards to writing capabilities:
We don’t support writes for certain types of widgets, unfortunately Images are one of them.

Badge +1

Hello, I also want to update image files through REST API. Any updates about this issue ?

Userlevel 1
Badge

Can you please give an update about this issue

Badge

Again: any updates?

Userlevel 4
Badge +6

Hi,

 

Quick update on this issue. The team is working on it, it is taking longer that what we thought. I will update the thread when it is fixed or the team finds a workaround.

 

Sorry for the inconvenience.

Badge

Hi,

 

Quick update on this issue. The team is working on it, it is taking longer that what we thought. I will update the thread when it is fixed or the team finds a workaround.

 

Sorry for the inconvenience.

Any idea when the enhancement will be released?

Userlevel 4
Badge +6

I don’t have a date yet from the team, I will inform you when we have an estimated date. 

Userlevel 4
Badge +6

@Jess Brock, @Ormskerk, @Ryoko Ueoka, @Richard121212 

 

We have been working on a new REST API design for Image widget and are looking for developers to review it and provide feedback. Please reach out by private message if you are interested.

Reply