Hi all, I found such a pattern, which in my opinion is a bug, unless of course it is caused by the impossibility of development.
Main: uploaded on the board item's "title" does not appear in the response until it is edited.
Steps to reproduce:
1) I create a board and with the help of "Drag & Drop" I throw several png files with predefined names onto it. For example, "Test_Image_1.png", "Test_Image_2.png", etc. (I think it works with other file types too, but I haven't checked)
2) I make a request to extract all Items. For example, 'https://api.miro.com/v2/boards/<board_id>/items?limit=50' or 'https://api.miro.com/v2/boards/<board_id>/items?limit =50&type=image'
3) I get the result with the correct number of elements, but in "data" the elements have only "imageUrl" and no "title", although it is there.
Example:
{
...
"createdBy" : {
"id" : "item_id",
"type" : "user"
},
"data" : {
"imageUrl" : "https://api.miro.com/v2/boards/.....",
},
....
}
4) If I somehow edit the name (title) of a certain item (png image), then its "title" will begin to be displayed in the response. For example, I change "Test_Image_1.png" to "Test_Image_1_edited.png", then the result will be
{
...
"createdBy" : {
"id" : "item_id",
"type" : "user"
},
"data" : {
"imageUrl" : "https://api.miro.com/v2/boards/.....",
"title" : "Test_Image_1_edited.png"
},
....
}