{ "opencollection": "1.0.0", "info": { "name": "YouTube Analytics Analytics Groups CommentThreads API", "version": "2.0.0" }, "request": { "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://accounts.google.com/o/oauth2/auth", "accessTokenUrl": "https://oauth2.googleapis.com/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "CommentThreads", "type": "folder" }, "items": [ { "info": { "name": "Youtube List Comment Threads", "type": "http" }, "http": { "method": "GET", "url": "https://youtubeanalytics.googleapis.com/v2/commentThreads", "params": [ { "name": "part", "value": "", "type": "query", "description": "Specifies a comma-separated list of one or more resource properties that the API response will include. The part parameter value must include the id property." }, { "name": "id", "value": "abc123def456", "type": "query", "description": "Comma-separated list of comment thread IDs for the resources being retrieved." }, { "name": "videoId", "value": "500123", "type": "query", "description": "Instructs the API to return comment threads for the video with the specified ID." }, { "name": "channelId", "value": "500123", "type": "query", "description": "Instructs the API to return comment threads for the channel with the specified ID." }, { "name": "moderationStatus", "value": "heldForReview", "type": "query", "description": "Set this parameter to limit the returned comment threads to only those with the specified moderation status." }, { "name": "maxResults", "value": "", "type": "query", "description": "The maximum number of items that should be returned in the result set. Acceptable values are 0 to 50, inclusive." }, { "name": "pageToken", "value": "", "type": "query", "description": "Identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages available." }, { "name": "fields", "value": "", "type": "query", "description": "Selector specifying which fields to include in a partial response. Use this parameter to reduce bandwidth usage by selecting only the fields you need." }, { "name": "key", "value": "", "type": "query", "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token." } ] }, "docs": "Returns a list of comment threads that match the API request parameters. The response includes top-level comments and optionally their replies." }, { "info": { "name": "Youtube Create a Comment Thread", "type": "http" }, "http": { "method": "POST", "url": "https://youtubeanalytics.googleapis.com/v2/commentThreads", "params": [ { "name": "part", "value": "", "type": "query", "description": "Specifies a comma-separated list of one or more resource properties that the API response will include. The part parameter value must include the id property." }, { "name": "fields", "value": "", "type": "query", "description": "Selector specifying which fields to include in a partial response. Use this parameter to reduce bandwidth usage by selecting only the fields you need." }, { "name": "key", "value": "", "type": "query", "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new top-level comment. To add a reply to an existing comment, use the comments.insert method." }, { "info": { "name": "Youtube Update a Comment Thread", "type": "http" }, "http": { "method": "PUT", "url": "https://youtubeanalytics.googleapis.com/v2/commentThreads", "params": [ { "name": "part", "value": "", "type": "query", "description": "Specifies a comma-separated list of one or more resource properties that the API response will include. The part parameter value must include the id property." }, { "name": "fields", "value": "", "type": "query", "description": "Selector specifying which fields to include in a partial response. Use this parameter to reduce bandwidth usage by selecting only the fields you need." }, { "name": "key", "value": "", "type": "query", "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Modifies the top-level comment in a comment thread. The authenticated user must own the comment being updated." } ] } ], "bundled": true }