Skip to content
Client
Server

Reference / @open-music-sdk/types / tSong

Interface: tSong ​

Defined in: song.ts:12

A resource object that represents a song.

Properties ​

attributes? ​

ts
optional attributes?: tSongAttributes;

Defined in: song.ts:20

The attributes for the song.


href ​

ts
href: string;

Defined in: song.ts:18

The relative location for the song resource.


id ​

ts
id: string;

Defined in: song.ts:14

The identifier for the song.


relationships? ​

ts
optional relationships?: tSongRelationships;

Defined in: song.ts:22

The relationships for the song.


type ​

ts
type: "songs";

Defined in: song.ts:16

This value is always songs.

MIT licensed. Not affiliated with, endorsed by, or sponsored by Apple Inc. Apple Music and MusicKit are trademarks of Apple Inc.