Interface playlists

Index

Methods

Methods

public delete(object: { id: string; }): HttpRequest

Deletes a playlist.

Parameters

  • object: { id: string; }

Returns

HttpRequest

public insert(object: { part: string; RequestBody?: string; }): HttpRequest

Creates a playlist.

Parameters

  • object: { part: string; RequestBody?: string; }

Returns

HttpRequest

public list(object: { part: string; channelId?: string; id?: string; maxResults?: number; mine?: boolean; pagetoken: string; }): HttpRequest

Returns a collection of playlists that match the API request parameters. For example, you can retrieve all playlists that the authenticated user owns, or you can retrieve one or more playlists by their unique IDs.

Parameters

  • object: { part: string; channelId?: string; id?: string; maxResults?: number; mine?: boolean; pagetoken: string; }

Returns

HttpRequest

public update(object: { part: string; RequestBody?: string; }): HttpRequest

Modifies a playlist. For example, you could change a playlist's title, description, or privacy status.

Parameters

  • object: { part: string; RequestBody?: string; }

Returns

HttpRequest