Skip to content

Latest commit

 

History

History
29 lines (25 loc) · 3.91 KB

File metadata and controls

29 lines (25 loc) · 3.91 KB

TrackObject

Properties

Name Type Description Notes
album OpenAPI\Server\Model\SimplifiedAlbumObject The album on which the track appears. The album object includes a link in `href` to full information about the album. [optional]
artists OpenAPI\Server\Model\ArtistObject The artists who performed the track. Each artist object includes a link in `href` to more detailed information about the artist. [optional]
availableMarkets string A list of the countries in which the track can be played, identified by their ISO 3166-1 alpha-2 code. [optional]
discNumber int The disc number (usually `1` unless the album consists of more than one disc). [optional]
durationMs int The track length in milliseconds. [optional]
explicit bool Whether or not the track has explicit lyrics ( `true` = yes it does; `false` = no it does not OR unknown). [optional]
externalIds OpenAPI\Server\Model\ExternalIdObject Known external IDs for the track. [optional]
externalUrls OpenAPI\Server\Model\ExternalUrlObject Known external URLs for this track. [optional]
href string A link to the Web API endpoint providing full details of the track. [optional]
id string The Spotify ID for the track. [optional]
isLocal bool Whether or not the track is from a local file. [optional]
isPlayable bool Part of the response when Track Relinking is applied. If `true`, the track is playable in the given market. Otherwise `false`. [optional]
linkedFrom array Part of the response when Track Relinking is applied, and the requested track has been replaced with different track. The track in the `linked_from` object contains information about the originally requested track. [optional]
name string The name of the track. [optional]
popularity int The popularity of the track. The value will be between 0 and 100, with 100 being the most popular.<br/>The popularity of a track is a value between 0 and 100, with 100 being the most popular. The popularity is calculated by algorithm and is based, in the most part, on the total number of plays the track has had and how recent those plays are.<br/>Generally speaking, songs that are being played a lot now will have a higher popularity than songs that were played a lot in the past. Duplicate tracks (e.g. the same track from a single and an album) are rated independently. Artist and album popularity is derived mathematically from track popularity. Note: the popularity value may lag actual popularity by a few days: the value is not updated in real time. [optional]
previewUrl string A link to a 30 second preview (MP3 format) of the track. Can be `null` [optional]
restrictions OpenAPI\Server\Model\TrackRestrictionObject Included in the response when a content restriction is applied. [optional]
trackNumber int The number of the track. If an album has several discs, the track number is the number on the specified disc. [optional]
type string The object type: &quot;track&quot;. [optional]
uri string The Spotify URI for the track. [optional]

[Back to Model list] [Back to API list] [Back to README]