Rest Apı /api/display returns currentLayoutId as null

I am getting display data from API, it gives me displays info. But “currentLayoutId”: gives only data for first display, the others “currentLayoutId”: null.
For example I have 4 display. First one shows current layout, the other 3 is null.
I can see current layout data for all devices in cms without problem, the problem is api.


Indeed that does seem like a bug.

After reading your post, we’ve investigated it, created an issue for it, and fixed it -

Fix will be included in the next release.

Thank you for bring this to our attention.