StickyNote.style.fillColor is always "light_yellow" in REST API
Hello,
I’m using the REST API to request information from a board, using `GET /v2/boards/{board_id}/items`. I have some sticky notes in different colors in my board, however the returned `fillColor` in `style.fillColor` is always `light_yellow`, even if the sticky note has a different color. Other style properties (e.g. `textAlign`) work correctly - but the `fill_color` is always `light_yellow`.
I’ve implemented this functionality ~1 year ago, and it definitely worked back then - did something change that broke this, is this a bug or intended behavior? If intended, is there any other way to figure out the color of a sticky note?
I’m not quite sure why this is not working for you. If you start a new board and add in two stickies, with two different colors, and try this again, do you still face the same issue?
Hey @Horea Porutiu,
thanks for testing it (and the very fast response!) - unfortunately, I just tested it again and it still doesn’t seem to work for me.
I have the following board (created yesterday):
with sticky notes that are not light_yellow in my opinion.
I’ve just sent a request to
GET https://api.miro.com/v2/boards/uXjVI-C1UBA=/items?type=sticky_note
using the same accept and authorization header that you’re using. There, I get the following response:
I’ve tested it again and I was able to reproduce the issue. I’ll bring this to our eng team and I’ll update this thread once we find the problem. Thank you for bringing this problem up.
I have the same issue, in case you need an other example :-)
Reply
Join the latest Miroverse template challenge: Blueprint Hackathon