API Widget lineEndType returning lineType values

  • 29 December 2020
  • 1 reply
  • 308 views

Userlevel 1

Hello, 

I’m trying to get a list of all widgets, (cards and lines).

https://developers.miro.com/reference#get-board-widgets-1

Its mostly going well except I’m getting lineEndType = “orthogonal” 

    {  "id" : "3074457352100423348",
      "startWidget" : {
        "id" : "3074457352100422622"
      },
      "endWidget" : {
        "id" : "3074457352100423021"
      },
      "style" : {
        "borderColor" : "#000000",
        "borderStyle" : "normal",
        "borderWidth" : 2.0,
        "lineEndType" : "orthogonal",
        "lineStartType" : "none",
        "lineType" : "orthogonal"
      },
      "type" : "line"
}

When the documentation says I should be getting one of:

"none", "opaque_block", "rhombus", "opaque_rhombus", "circle","opaque_circle", "block", "open_arrow", "opaque_arrow"

 


1 reply

Userlevel 2
Badge +1

Thank you for bringing this to our attention. We will notify the team in a change of this endpoint to look into it.

Reply