Song
The data structure that represents a Song resource.
Declaration
object SongProperties
| Name | Type | Description |
|---|---|---|
album | Song.Album | The album that contains the song. |
artistRoles | [Song.ArtistRole] | (Required) A list of artists and their roles. |
audioLocale | string | 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 |
copyright | string | The copyright notice text. |
copyrightPline | string | The copyright performance rights text that displays in Apple Music. |
durationInMillis | number | 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. |
id | string | The identifier for the song in Apple Music. |
isrc | string | The International Standard Recording Code (ISRC) for the sound or music video recording. |
lastModifiedTime | string | The time, in ISO 8601 format, of the entity’s most recent update. |
name | Song.Name | (Required) A mapping of locale to localized uncensored names for the song. |
nameDefault | string | The default name for the song. |
namePronunciation | Song.NamePronunciation | (Required) A mapping of locale to translations for the specific pronunciation-name translation type. |
parentalAdvisoryType | string | The type of parental advisory status. The possible values are |
prices | Song.Prices | (Required) A mapping of locale to pricing information. Pricing offer parameters include |
primaryArtists | [Song.RelatedArtist] | (Required) A list of the primary artists of the song. |
releaseDate | Song.ReleaseDate | (Required) A mapping of locale to release date, in YYYY-MM-DD format. |
relevanceScore | Song.RelevanceScore | A score used to rank the relevance of the song. |
shortPreview | string | (Required) A template for the URL for a short audio preview of the song. |
titleVersion | Song.TitleVersion | (Required) A mapping of locale to translations for the specific title-version translation type. |
titleVersionPronunciation | Song.TitleVersionPronunciation | (Required) A mapping of locale to translations for the specific title-version-pronunciation-name translation type. |
trackNumber | number | The track number of the song. |
urlTemplate | string | A template for the URL to view the entity in Apple Music. The template requires an ISO country code for the |
volumeNumber | number | The volume number of the song. |
Topics
Related objects
Song.ArtistRoleSong.GenreSong.NameSong.NamePronunciationSong.PricesSong.RelatedAlbumSong.RelatedArtistSong.ReleaseDateSong.RelevanceScoreSong.TitleVersionSong.TitleVersionPronunciation