v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1383206367.4 KB
commentThreads

Retrieves a list of resources, possibly filtered.

get/youtube/v3/commentThreads

Query parameters

partstring[] required

The part parameter specifies a comma-separated list of one or more commentThread resource properties that the API response will include.

allThreadsRelatedToChannelIdstring

Returns the comment threads of all videos of the channel and the channel comments as well.

channelIdstring

Returns the comment threads for all the channel comments (ie does not include comments left on videos).

idstring[]

Returns the comment threads with the given IDs for Stubby or Apiary.

maxResultsinteger

The maxResults parameter specifies the maximum number of items that should be returned in the result set.

moderationStatus'published' | 'heldForReview' | 'likelySpam' | 'rejected'

Limits the returned comment threads to those with the specified moderation status. Not compatible with the 'id' filter. Valid values: published, heldForReview, likelySpam.

order'orderUnspecified' | 'time' | 'relevance'
pageTokenstring

The pageToken parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved.

postIdstring

Returns the comment threads of the specified post.

searchTermsstring

Limits the returned comment threads to those matching the specified key words. Not compatible with the 'id' filter.

textFormat'textFormatUnspecified' | 'html' | 'plainText'

The requested text format for the returned comments.

videoIdstring

Returns the comment threads of the specified video.

Response

Successful response