MusicVideos.Attributes
The attributes for a music video resource.
Declaration
object MusicVideos.AttributesProperties
| Name | Type | Description |
|---|---|---|
albumName | string | The name of the album the music video appears on. |
artistName Required | string | The artist’s name. |
artistUrl | string | (Extended) The URL of the artist for this content. |
artwork Required | Artwork | The artwork for the music video’s associated album. |
contentRating | string | The Recording Industry Association of America (RIAA) rating of the content. No value means no rating. |
durationInMillis Required | integer | The duration of the music video in milliseconds. |
editorialNotes | EditorialNotes | The editorial notes for the music video. |
genreNames Required | [string] | The music video’s associated genres. |
has4K Required | boolean | Whether the music video has 4K content. |
hasHDR Required | boolean | Whether the music video has HDR10-encoded content. |
inFavorites | boolean | Whether the catalog resource ID is in the person’s favorites. |
isrc | string | The International Standard Recording Code (ISRC) for the music video. |
name Required | string | The localized name of the music video. |
playParams | PlayParameters | When present, indicates that the music video is available to play with an Apple Music subscription. The value map may be used to initiate playback. Previews of the music video may be available with or without an Apple Music subscription. |
previews Required | [Preview] | The preview assets for the music video. |
releaseDate | string | The release date of the music video, when known, in YYYY-MM-DD or YYYY format. Prerelease music videos may have an expected release date in the future. |
trackNumber | integer | The number of the music video in the album’s track list, when associated with an album. |
url Required | string | The URL for sharing the music video in Apple Music. |
videoSubType | string | The video subtype associated with the content. |
workId | string | (Classical music only) A unique identifier for the associated work. |
workName | string | (Classical music only) The name of the associated work. |