Skip to content

Commit

Permalink
Add note about not including "next" field when limiting fields and us…
Browse files Browse the repository at this point in the history
…ing pagination (#962)
  • Loading branch information
sjasct committed May 7, 2024
1 parent 7bdaf06 commit 9cbd5f2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions SpotifyAPI.Docs/docs/iplayableitem.md
Expand Up @@ -54,3 +54,8 @@ By requesting just the track name from the items, we don't have any kind of type
playlistGetItemsRequest.Fields.Add("items(track(name,type))");
```

If you're paginating a request with a subset of fields and you don't include the field `next`, we assume there is only one page and your results will be limited. To fix this, you must include `next` as one of the fields:

```csharp
playlistGetItemsRequest.Fields.Add("next, items(track(name,type))");
```

0 comments on commit 9cbd5f2

Please sign in to comment.