Jump to content

REST-API: Retrieve and Sort Media Items


Yannik Reiter

Recommended Posts

Hello,

 

I'm trying to use the REST-API to retrieve a set of media items (i.e. by mediaItemId) and sort the result by rating.

 

I know the documentation describes this "/api/mediaItems/search?tag=keywords&value=ananas&sortBy=rating" but this is very unspecific and it's not possible to get a set of media items by their id.

 

Another issue is that the rating of a mediaitem is not shown in the result of any queries. I doubt that the result is really sorted by the rating, however I don't know for sure.

 

Is there a way to do this that I am missing? Are the queries included in the documentation the only supported features of the REST-API?

 

 

Thanks,

 

Yannik

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...