Spotify Web API v0.1.0 Spotify.Pagings.PagingCursor View Source

The cursor-based paging object is a container for a set of objects. It contains a key called items (whose value is an array of the requested objects) along with other keys like next and cursors that can be useful in future calls.

KeyValue Description
hrefA link to the Web API endpoint returning the full result of the request.
itemsThe requested data.
limitThe maximum number of items in the response (as set in the query or by default).
nextURL to the next page of items. ( null if none)
cursorsThe cursors used to find the next set of items.
totalThe total number of items available to return.

Link to this section Summary

Link to this section Types

Link to this type t(item_type) View Source
t(item_type) :: %Spotify.Pagings.PagingCursor{cursors: Spotify.Cursor.t(), href: String.t(), items: [item_type], limit: integer(), next: String.t(), total: integer()}