Lookup Queries in the iTunes Search API Should Support the isStreamable Object
| Originator: | johnvoorhees | ||
| Number: | rdar://21738896 | Date Originated: | 07/08/2015 |
| Status: | Open | Resolved: | |
| Product: | iTunes | Product Version: | |
| Classification: | Reproducible: | always |
Summary: With the introduction of Apple Music the "isStreamable" object, which returns true or false, was added to the iTunes Search API. "isStreamable" is only returned from a search query. Lookup queries, which use the content's ID do not return "isSearchable." It would be useful to be able to test whether a particular song or album is streamable on Apple Music by sending a lookup query to the iTunes Search API. A search query doesn't work for this purpose because the ID of a song is not a search parameter. Steps to Reproduce: 1. Send a lookup query to the iTunes Search API. For example, https://itunes.apple.com/lookup?id=907242701 2. Review resulting JSON, which do not include an "isStreamable" object Expected Results: I expected that like a search query, a lookup query would return an "isStreamable" object that is true or false. Actual Results: Instead, no "isStreamable" object is returned at all. Version: iOS and OS X
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!