How to get wedget info in playlist using API

I am currently developing an application using the xibo-API, and when I call the API to retrieve playlists, I cannot get any information about the Wedget that is added to that playlist.
Screenshot 1 shows the state of the Playlist settings.

Screenshot 2 shows the result of calling /api/playlist in this state.

I expect to see the information of the wedget I am using, but it is “wedget:” and there is no information.
Can anyone help me how I can get the information for the wedget?
I am having a very hard time getting development going.
Regards,

Mark

To list widgets in Playlist you will need to use the following endpoint:

GET /api/playlist?playlistId=XXXX&embed=widgets

Hello, israt.farzana-san,

Thank you so much for your advice.
By using embed parameter, it is now possible to retrieve the data properly.

Great advice, thank you again

Mark Miura

1 Like