Methods
public delete(object: { id: string; onBehalfOfContentOwner?: string; }): HttpRequest
Deletes a YouTube video.
Parameters
-
object: { id: string; onBehalfOfContentOwner?: string; }
Returns
HttpRequest
public getRating(object: { id: string; onBehalfOfContentOwner?: string; }): HttpRequest
Get user ratings for videos.
Parameters
-
object: { id: string; onBehalfOfContentOwner?: string; }
Returns
HttpRequest
public insert(object: { part: string; autoLevels?: boolean; onBehalfOfContentOwner?: string; onBehalfOfContentOwnerChannel?: string; stabilize?: boolean; RequestBody?: string; }): HttpRequest
Uploads a video to YouTube and optionally sets the video's metadata.
Parameters
-
object: { part: string; autoLevels?: boolean; onBehalfOfContentOwner?: string; onBehalfOfContentOwnerChannel?: string; stabilize?: boolean; RequestBody?: string; }
Returns
HttpRequest
public list(object: { part: string; chart: string; id: string; locale: string; maxResults: number; myRating: string; onBehalfOfContentOwner: string; pageToken: string; videoCategoryId: string; }): HttpRequest
Returns a list of videos that match the API request parameters.
Parameters
-
object: { part: string; chart: string; id: string; locale: string; maxResults: number; myRating: string; onBehalfOfContentOwner: string; pageToken: string; videoCategoryId: string; }
Returns
HttpRequest
public rate(object: { id: string; rating: string; onBehalfOfContentOwner?: string; }): HttpRequest
Like, dislike, or remove rating from a video.
Parameters
-
object: { id: string; rating: string; onBehalfOfContentOwner?: string; }
Returns
HttpRequest
public update(object: { part: string; onBehalfOfContentOwner?: string; RequestBody?: string; }): HttpRequest
Updates a video's metadata.
Parameters
-
object: { part: string; onBehalfOfContentOwner?: string; RequestBody?: string; }
Returns
HttpRequest