Skip to main content

From yesterday I see the bug in widget creating through POST https://api.miro.com/v1/boards/id/widgets

 

Example of the POST request

POST https://api.miro.com/v1/boards/o9J_labxxgM=/widgets v2_xiqk9VdRN__CHSzstDUsn-as {"type":"line","style":{"borderColor":"#d6d6d6","lineEndType":"opaque_arrow","lineStartType":"none","lineType":"bezier"},"startWidget":{"id":"3074457354075703371"},"endWidget":{"id":"3074457354083427696"}}

 

In response I see that lineEndType is not that I have defined:

{

  "id" : "3074457354075703388",

  "startWidget" : {

    "id" : "3074457354075703371"

  },

  "endWidget" : {

    "id" : "3074457354083427696"

  },

  "style" : {

    "borderColor" : "#d6d6d6",

    "borderStyle" : "normal",

    "borderWidth" : 1.0,

    "lineEndType" : "bezier",

    "lineStartType" : null,

    "lineType" : "bezier"

  },

  "type" : "line",

  "createdAt" : "2021-02-04T11:22:48Z",

  "modifiedAt" : "2021-02-04T11:22:48Z",

  "modifiedBy" : {

    "type" : "user",

    "name" : "Ilyas Salikhov",

    "id" : "3074457348081033358"

  },

  "createdBy" : {

    "type" : "user",

    "name" : "Ilyas Salikhov",

    "id" : "3074457348081033358"

  },

  "capabilities" : {

    "editable" : true

  }

}

Hello @Ilyas Salikhov,

 

Thank you for highlighting this issue. We are aware that this is a bug and the backend team has been notified about it already.

 

I will pass you report along to them.

 

Kind regards.

 

Daniela


Any updates for this issue? It occurs with me


Hi! I see the same problem again (


Reply