Contents

Song

The data structure that represents a Song resource.

Declaration

object Song

Properties

NameTypeDescription
albumSong.Album

The album that contains the song.

artistRoles[Song.ArtistRole]

(Required) A list of artists and their roles.

audioLocalestring

The locale of the audio. This usually corresponds to the language of the song. The locale uses the IETF language tag format.

contentTraits[string]

(Required) A list of the content traits for the song. The possible values are remix, live, compilation, and karaoke.

copyrightstring

The copyright notice text.

copyrightPlinestring

The copyright performance rights text that displays in Apple Music.

durationInMillisnumber

The length of the song in milliseconds.

featuredArtists[Song.RelatedArtist]

(Required) A list of the featured artists of the song.

genres[Song.Genre]

(Required) A list of genre information for the song.

idstring

The identifier for the song in Apple Music.

isrcstring

The International Standard Recording Code (ISRC) for the sound or music video recording.

lastModifiedTimestring

The time, in ISO 8601 format, of the entity’s most recent update.

nameSong.Name

(Required) A mapping of locale to localized uncensored names for the song.

nameDefaultstring

The default name for the song.

namePronunciationSong.NamePronunciation

(Required) A mapping of locale to translations for the specific pronunciation-name translation type.

parentalAdvisoryTypestring

The type of parental advisory status. The possible values are none, explicit, not explicit, and cleaned.

pricesSong.Prices

(Required) A mapping of locale to pricing information. Pricing offer parameters include price, priceType, and quality.

primaryArtists[Song.RelatedArtist]

(Required) A list of the primary artists of the song.

releaseDateSong.ReleaseDate

(Required) A mapping of locale to release date, in YYYY-MM-DD format.

relevanceScoreSong.RelevanceScore

A score used to rank the relevance of the song.

shortPreviewstring

(Required) A template for the URL for a short audio preview of the song.

titleVersionSong.TitleVersion

(Required) A mapping of locale to translations for the specific title-version translation type.

titleVersionPronunciationSong.TitleVersionPronunciation

(Required) A mapping of locale to translations for the specific title-version-pronunciation-name translation type.

trackNumbernumber

The track number of the song.

urlTemplatestring

A template for the URL to view the entity in Apple Music. The template requires an ISO country code for the {country-code} placeholder.

volumeNumbernumber

The volume number of the song.

Topics

Related objects

Dictionaries

See Also

Objects