Sorry, but you either have no stories or none are selected somehow.
If the problem persists, check the browser console, or the terminal you've run Storybook from.
See: Apple Music API: Fetching Resources by Page
The Apple Music API supports pagination for requests that return an array of objects using the limit
and offset
query parameters. limit
sets the maximum number of objects returned in a single response, and offset
determines the first object in the response. The next
property, adjacent to the nested data
property in the API response, indicates at least one additional page of objects is available.
This example is meant to explain the use of the query params, but is likely more simple than an actual app would use.
next
Property on ResponsesOn API endpoints that support pagination query parameters, the response will also contain a next
property adjacent to the data
property whenever there is at least one more object on the next page. The value of this property is the root-relative URL, with the offset
query param already set.
This example uses the presence of the next
property on the response to fetch additional pages until we have all objects in a single array and then starts playback.