Jump to content

Recommended Posts

Posted

From the Items API can I tell from an Items information if it has or how many extras it has?

rechigo
Posted

From the HTTP API?

 

/Items/ItemInternalId/SpecialFeatures returns an array of special features

Posted

yes true, but I want to know before I make a call to that API if the item has extras not or.

Posted

@@Luke

Is there a way of knowing if an items has extras or not without having to call the /Items/ItemInternalId/SpecialFeatures API

Posted

That's currently the only way. Can you give a use case?

Posted

That's currently the only way. Can you give a use case?

I have a list of movie items, each one when clicked on shows a context menu, I want to add a view extras entry in the context menu but only for the items that have extras.

  • 2 weeks later...
Posted

If it's important then i can add a param for you to request that as a field. It will be slower though as this information isn't' stored anywhere, so querying for a list of movies means it will have to count them up for every single movie.

Posted

ok, dont worry about it then, I will just add the context item for all movies.

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...