Skip to content
Client
Server

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

Interface: tRelationshipViewResponse ​

Defined in: relationship-view-response.ts:6

The response for a direct resource view fetch.

Properties ​

attributes? ​

ts
optional attributes?: tRelationshipViewResponseAttributes;

Defined in: relationship-view-response.ts:8

The attribute metadata for the view.


data ​

ts
data: tResource[];

Defined in: relationship-view-response.ts:10

A paginated collection of resources in the view.


meta? ​

ts
optional meta?: tRelationshipViewResponseMeta;

Defined in: relationship-view-response.ts:12

Contextual data about the view.


next? ​

ts
optional next?: string;

Defined in: relationship-view-response.ts:14

A relative cursor to fetch the next paginated collection of resources in the view if more exist.

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