When I perform the following YouTube Data API request to list commentThreads, pageInfo/totalResults isn't returned in the response.
I expect pageInfo/totalResults to be returned per the documentation.
GET https://www.googleapis.com/youtube/v3/commentThreads?part=snippet%2Creplies&videoId=dGidYBqBHVw&key={YOUR_API_KEY}
For example, if you use the API Explorer, and enter:
- part: snippet,replies
- videoId: dGidYBqBHVw
The response returns 200 OK with the rest of the data, but omits the pageInfo/totalResults value:
"pageInfo": {
"resultsPerPage": 20
}