Hi team. In search results, the following request:
GET https://api.soundcloud.com/tracks?linked_partitioning=1&limit=50&offset=1000&q=Daft%20Punk
Should have the next_href field defined only if there are other pages.
This is the current response:
{
"collection": [],
"next_href": "https://api.soundcloud.com/tracks?linked_partitioning=1&limit=50&offset=1050&q=Daft%20Punk"
}
I feel like having a next_href with 0 tracks should never happen. If that's the expected behavior, the docs should probably be updated:
To fetch the next page of results, simply follow that URI. If the response does not contain a next_href property, you have reached the end of the results.
Hi team. In search results, the following request:
Should have the
next_hreffield defined only if there are other pages.This is the current response:
I feel like having a
next_hrefwith 0 tracks should never happen. If that's the expected behavior, the docs should probably be updated: