Interface GoogleApiYouTubeSubscriptionResource

Index

Properties

Properties

public contentDetails: { totalItemCount: number; newItemCount: number; }

public contentDetails.newItemCount: number

public contentDetails.totalItemCount: number

public etag: string

The ETag of the subscription resource.

public id: string

The ID that YouTube uses to uniquely identify the subscription.

public kind: string

The type of the API resource. For subscription resources, the value will be youtube#subscription.

public snippet: { publishedAt: string; channelTitle: string; title: string; description: string; resourceId: { kind: string; channelId: string; }; channelId: string; thumbnails: GoogleApiYouTubeThumbnailItemResource[]; }

The snippet object contains basic details about the subscription, including its title and the channel that the user subscribed to.

public resourceId.channelId: string

The value that YouTube uses to uniquely identify the channel that the user subscribed to.

public resourceId.kind: string

The type of the API resource.

public snippet.channelId: string

The ID that YouTube uses to uniquely identify the subscribers channel. The resource_id object identifies the channel that the user subscribed to.

public snippet.channelTitle: string

The title of the channel that the subscription belongs to.

public snippet.description: string

The subscriptions details.

public snippet.publishedAt: string

The date and time that the subscription was created. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.

public snippet.resourceId: { kind: string; channelId: string; }

The id object contains information about the channel that the user subscribed to.

public snippet.thumbnails: GoogleApiYouTubeThumbnailItemResource[]

A map of thumbnail images associated with the subscription. For each object in the map, the key is the name of the thumbnail image, and the value is an object that contains other information about the thumbnail.

public snippet.title: string

The subscriptions title.

public subscriberSnippet: { title: string; description: string; channelId: string; thumbnails: GoogleApiYouTubeThumbnailItemResource[]; }

public subscriberSnippet.channelId: string

public subscriberSnippet.description: string

public subscriberSnippet.thumbnails: GoogleApiYouTubeThumbnailItemResource[]

public subscriberSnippet.title: string