Interface playlistItems

Index

Methods

Methods

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

Deletes a playlist item.

Parameters

  • object: { id: string; }

Returns

HttpRequest

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

Adds a resource to a playlist.

Parameters

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

Returns

HttpRequest

public list(object: { part: string; id?: string; maxResults?: number; pageToken?: string; playlistId?: string; videoId?: string; }): HttpRequest

Returns a collection of playlist items that match the API request parameters. You can retrieve all of the playlist items in a specified playlist or retrieve one or more playlist items by their unique IDs.

Parameters

  • object: { part: string; id?: string; maxResults?: number; pageToken?: string; playlistId?: string; videoId?: string; }

Returns

HttpRequest

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

Modifies a playlist item. For example, you could update the item's position in the playlist.

Parameters

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

Returns

HttpRequest