Assign a media file to specific Display (not Display Group) with Xibo API

Hi,

I’m new here, so I’m sorry in advance for possibly stupid or obvious question.

In the UI I can assign a media file to the specific Display with display’s Row menu “Assign Files”. How can I do the same with Xibo API? I tried (with no success) to use /displaygroup/{displayGroupId}/media/assign endpoint, passing so-called “display-specific” group id as {displayGroupId}. Is this even possible, and if so, how?

Thanks,
Sergey

I understood where I was wrong, sorry to bother you))) Passing display-specific group id to the /assign endpoint works like a charm. My mistake was wrong parameter naming in the request’s multipart body - mediaId instead mediaId[], this is an array.

“Asked myself - answered myself” :wink:

Sergey

1 Like
The Xibo Community site uses cookies. What are cookies?