Jump to content

API call to /Users/{UserId}/Items/Latest doesn't honour ParentId field


SamES

Recommended Posts

SamES

Running windows server version 3.0.5917.0

 

It appears that API calls to /Users/{UserId}/Items/Latest doesn't honour the ParentId query parameter correctly.

 

For example, trying to retrieve only Latest Movies by querying Latest Items with the ParentId set to the Movies UserView ID will still return all Latest Media items. 

 

This can be confirmed in Swagger-UI.  Set the returned field parameter to ParentId, and restrict the query based on ParentId={Movies userView ID} and the returned items will have ParentId's different to the query parameter.

 

This of course presumes there are latest items which are not in the Movies View.

 

Thanks

  • Like 1
Link to comment
Share on other sites

  • 1 month later...
SamES

@@Luke, any feedback on this one?  I expect Latest means Latest media, but since the query has a ParentID parameter, I expect it to include it in the filter results but it does not.

 

For example, trying to retrieve only Latest Movies by querying Latest Items with the ParentId set to the Movies UserView ID will still return all Latest Media items.

 

Thanks

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...