Skip to main content
Answered

Listing boards by last_modified not working

  • September 12, 2024
  • 2 replies
  • 57 views

Forum|alt.badge.img+1

I’m trying to use sort=last_modified with the /boards endpoint but it doesn’t seem to be respecting it. Is this broken? Or is there some undocumented constraint about this parameter only being used in conjunction with other parameters? Tried combining it with e.g. team_id but to no avail.

Specifically, when making this request:

curl --request GET \

     --url 'https://api.miro.com/v2/boards?sort=last_modified' \

     --header 'accept: application/json' \

     --header 'authorization: Bearer <token>' \

    | jq '.data[] | .modifiedAt'

I get back modifiedAt timestamps in this order:

"2022-11-03T16:50:33Z"

"2021-04-06T18:58:11Z"

"2023-02-07T14:40:04Z"

"2024-06-03T17:52:46Z"

"2024-05-17T18:40:20Z"

"2024-08-20T22:48:45Z"

"2024-08-20T21:27:26Z"

"2024-04-15T22:50:32Z"

"2024-07-29T14:02:33Z"

"2024-03-20T23:07:33Z"

"2020-12-15T01:14:29Z"

"2024-07-12T18:51:24Z"

"2024-03-04T00:49:20Z"

"2024-09-12T15:23:06Z"

"2024-09-12T17:26:04Z"

"2024-09-12T18:22:34Z"

"2024-09-12T21:09:14Z"

"2024-09-12T22:00:57Z"

"2024-09-12T05:16:00Z"

"2024-09-12T03:11:43Z"

Best answer by William Bishop

Hi @Jonathan Goldman,

Thanks a lot for raising this, and apologies for the trouble with this sort parameter. This appears to ba a bug and our team is looking into it. We hope to have this resolved shortly and will keep you updated.

View original
Was it helpful?

2 replies

William Bishop
Mironeer
Forum|alt.badge.img+4
  • Mironeer
  • 234 replies
  • Answer
  • September 13, 2024

Hi @Jonathan Goldman,

Thanks a lot for raising this, and apologies for the trouble with this sort parameter. This appears to ba a bug and our team is looking into it. We hope to have this resolved shortly and will keep you updated.


Forum|alt.badge.img+1

Great, thank you!


Reply