Add note about not including "next" field when limiting fields and using pagination (#962)

This commit is contained in:
Sam 2024-05-07 22:18:42 +01:00 committed by GitHub
parent 7bdaf060de
commit 9cbd5f280e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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))"); 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))");
```