Skip to content
Client
Server

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

Interface: tAlbum ​

Defined in: album.ts:13

A resource object that represents an album.

Properties ​

attributes? ​

ts
optional attributes?: tAlbumAttributes;

Defined in: album.ts:21

The attributes for the album.


href ​

ts
href: string;

Defined in: album.ts:19

The relative location for the album resource.


id ​

ts
id: string;

Defined in: album.ts:15

The identifier for the album.


relationships? ​

ts
optional relationships?: tAlbumRelationships;

Defined in: album.ts:23

The relationships for the album.


type ​

ts
type: "albums";

Defined in: album.ts:17

This value is always albums.


views? ​

ts
optional views?: tAlbumViews;

Defined in: album.ts:25

The relationship views for the album.

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