Object

Song.Attributes

The attributes for a song object.

Properties

albumName
string
(Required)

The name of the album the song appears on.

artistName
string
(Required)

The artist’s name.

artwork
(Required)

The album artwork.

composerName
string

The song’s composer.

contentRating
string

The Recording Industry Association of America (RIAA) rating of the content. The possible values for this rating are clean and explicit. No value means no rating.

discNumber
integer
(Required)

The disc number the song appears on.

durationInMillis
number

The duration of the song in milliseconds.

editorialNotes

The notes about the song that appear in the iTunes Store.

genreNames
[string]
(Required)

The genre names the song is associated with.

isrc
string
(Required)

The International Standard Recording Code (ISRC) for the song.

movementCount
integer

(Classical music only) The movement count of this song.

movementName
string

(Classical music only) The movement name of this song.

movementNumber
integer

(Classical music only) The movement number of this song.

name
string
(Required)

The localized name of the song.

playParams

The parameters to use to playback the song.

previews
(Required)

The preview assets for the song.

releaseDate
date
(Required)

The release date of the song in YYYY-MM-DD format.

trackNumber
integer
(Required)

The number of the song in the album’s track list.

url
string
(Required)

The URL for sharing a song in the iTunes Store.

workName
string

(Classical music only) The name of the associated work.

See Also

Related Objects

object Song.Relationships

The relationships for a song object.