ContextOption
note
This type is deducted from Spotify's internal usage. It may not be accurate and may change in the future.
type ContextOption = {
contextURI?: string;
index?: number;
trackUri?: string;
page?: number;
trackUid?: string;
sortedBy?: string;
filteredBy?: string;
shuffleContext?: boolean;
repeatContext?: boolean;
repeatTrack?: boolean;
offset?: number;
next_page_url?: string;
restrictions?: Record<string, string[]>;
referrer?: string;
};
Property | Type | Description |
---|---|---|
contextURI | string | undefined | Context URI. |
index | number | undefined | Track index. |
trackUri | string | undefined | Track URI. |
page | number | undefined | Page number. |
trackUid | string | undefined | Track UID. |
sortedBy | string | undefined | Sorted by timestamp. |
filteredBy | string | undefined | Filtered by timestamp. |
shuffleContext | boolean | undefined | Shuffle context URI. |
repeatContext | boolean | undefined | Repeat context URI. |
repeatTrack | boolean | undefined | Repeat track URI. |
offset | number | undefined | Offset. |
next_page_url | string | undefined | Next page URL. |
restrictions | Record<string, string[]> | undefined | Restrictions. |
referrer | string | undefined | Referrer. |