Interface subscriptions

Index

Methods

Methods

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

Deletes a subscription.

Parameters

  • object: { id: string; }

Returns

HttpRequest

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

Adds a subscription for the authenticated user's channel.

Parameters

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

Returns

HttpRequest

public list(object: { part: string; channelId?: string; forChannelId?: string; id?: string; maxResults?: number; mine?: boolean; mySubscripbers?: boolean; order?: string; pageToken?: string; }): HttpRequest

Returns subscription resources that match the API request criteria.

Parameters

  • object: { part: string; channelId?: string; forChannelId?: string; id?: string; maxResults?: number; mine?: boolean; mySubscripbers?: boolean; order?: string; pageToken?: string; }

Returns

HttpRequest