TeamB 2438 Posted April 16, 2020 Posted April 16, 2020 From the Items API can I tell from an Items information if it has or how many extras it has?
rechigo 364 Posted April 17, 2020 Posted April 17, 2020 From the HTTP API? /Items/ItemInternalId/SpecialFeatures returns an array of special features
TeamB 2438 Posted April 17, 2020 Author Posted April 17, 2020 yes true, but I want to know before I make a call to that API if the item has extras not or.
TeamB 2438 Posted April 17, 2020 Author Posted April 17, 2020 @@Luke Is there a way of knowing if an items has extras or not without having to call the /Items/ItemInternalId/SpecialFeatures API
Luke 42077 Posted April 17, 2020 Posted April 17, 2020 That's currently the only way. Can you give a use case?
TeamB 2438 Posted April 17, 2020 Author Posted April 17, 2020 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.
Luke 42077 Posted April 29, 2020 Posted April 29, 2020 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.
TeamB 2438 Posted April 29, 2020 Author Posted April 29, 2020 ok, dont worry about it then, I will just add the context item for all movies.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now