Skip to content
Client
Server

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

Interface: tRating ​

Defined in: rating.ts:13

An object that represents a rating for a resource.

Properties ​

attributes? ​

ts
optional attributes?: tRatingAttributes;

Defined in: rating.ts:21

The attributes for the rating.


href ​

ts
href: string;

Defined in: rating.ts:19

The relative location for the playlist resource.


id ​

ts
id: string;

Defined in: rating.ts:15

The identifier for the rating.


relationships? ​

ts
optional relationships?: tRatingRelationships;

Defined in: rating.ts:23

The relationships from ratings to other resources.


type ​

ts
type: "ratings";

Defined in: rating.ts:17

This value is always ratings.

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