How to exclude fields from the results of a Web API call
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I want to pull just the artist name and track name using the "https://api.spotify.com/v1/playlists/{playlist_id}/tracks" call. The documentation says "Fields can be excluded by prefixing them with an exclamation mark", so I've tried to narrow down the results to just the two name fields. But no syntax I try with "!" seems to work. As an example, I thought "&fields=items(track(album(artists(name,!href)),name))" would exclude "href", but it returns 400 ""Error parsing parameter: fields". What am I misunderstanding?
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page