API get items for multiple sections.

When getting metadata for items it is possible to get data for multiple items by joining them with , eg : http://localhost:32400/library/metadata/355,356

 

Is it possible to use something similar to get the listings for each item type? One call to get all movies from 3 sections? eg.  http://localhost:32400/library/sections/1,3/all or http://localhost:32400/library/sections/1,3/recentlyAdded or do I need to loop through all sections to get all items?

When getting metadata for items it is possible to get data for multiple items by joining them with , eg : http://localhost:32400/library/metadata/355,356

AFAIK, sadly no

When getting metadata for items it is possible to get data for multiple items by joining them with , eg : http://localhost:32400/library/metadata/355,356

Is it possible to use something similar to get the listings for each item type? One call to get all movies from 3 sections? eg.  http://localhost:32400/library/sections/1,3/all or http://localhost:32400/library/sections/1,3/recentlyAdded or do I need to loop through all sections to get all items?

Again sorry, but AFAIK only by looping

AFAIK, sadly no

Again sorry, but AFAIK only by looping

Actually the first one works, try it yourself.

To bad it won't work for sections. Trying to get the last 10 added items from the library and I am currently making a request for each section in the library sorted by added date and max 10 hits. That list then needs to be sorted by added date to actually get the last 10 added items. It is a little bit to slow...

Actually the first one works, try it yourself.

Wow...And will surely do, and if confirmed, then okay to add it here:

https://forums.plex.tv/topic/87348-undocumented-functionality-and-tips-tricks/ ?

/Tommy

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.