Skip to content
Client
Server

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

Interface: tView ​

Defined in: view.ts:6

A to-one or to-many relationship view from one resource object to others representing interesting associations.

Properties ​

attributes? ​

ts
optional attributes?: tViewAttributes;

Defined in: view.ts:12

Attributes specific to the view.


data ​

ts
data: tResource[];

Defined in: view.ts:14

One or more destination objects.


href? ​

ts
optional href?: string;

Defined in: view.ts:8

A URL subpath that fetches the view resources and attributes as the primary objects. This member is only present in responses.


meta? ​

ts
optional meta?: tViewMeta;

Defined in: view.ts:16

Contextual information about the view for the request or response.


next? ​

ts
optional next?: string;

Defined in: view.ts:10

Link to the next page of resources in the view. Contains the offset query parameter that specifies the next page. See Fetch Resources by Page.

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