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

The offset-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 previous, next, and limit 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)
offsetThe offset of the items returned (as set in the query or by default).
previousURL to the previous page of items. ( null if none)
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.Paging{href: String.t(), items: [item_type], limit: integer(), next: String.t(), offset: integer(), previous: String.t(), total: integer()}