Bug API when getting campaign with embed parameter?

Hello,

I want to get info on my campaigns and embed on layouts,regions,playlists to be able to retrieve all medias used in campaigns.

If i make my request globally, i get all my campaigns and layouts of the first occurrence are embedded but not their regions and not the layouts of next campaigns.

In this example, layouts of the campaign 23 are not showed, but when i make a request to get this specific campaign, it shows me the layout.

1aa

The regions are still not embeded though.

Is it a bug? Or do I do something wrong?

The only workaround i found is to make specific get requests on each campaigns and then make specific requests on each layouts inside the campaigns. But that involves a tremendous amount of request because we have at least 10 layouts per campagins and a lot of campagins.

It would be great if I could make a single /campaign embeded request to get the data I need.

The Xibo Community site uses cookies. What are cookies?