{ "opencollection": "1.0.0", "info": { "name": "YouTube Analytics Analytics Groups GroupItems 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": "GroupItems", "type": "folder" }, "items": [ { "info": { "name": "Youtube List Group Items", "type": "http" }, "http": { "method": "GET", "url": "https://youtubeanalytics.googleapis.com/v2/groupItems", "params": [ { "name": "groupId", "value": "500123", "type": "query", "description": "The id parameter specifies the unique ID of the group for which you want to retrieve group items." }, { "name": "onBehalfOfContentOwner", "value": "example_value", "type": "query", "description": "The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user." } ] }, "docs": "Returns a collection of group items that match the API request parameters. Retrieves the list of items in a specified Analytics group owned by the authenticated user." }, { "info": { "name": "Youtube Create a Group Item", "type": "http" }, "http": { "method": "POST", "url": "https://youtubeanalytics.googleapis.com/v2/groupItems", "params": [ { "name": "onBehalfOfContentOwner", "value": "example_value", "type": "query", "description": "The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates a group item, adding a resource such as a video, channel, or playlist to an Analytics group. The authenticated user must own the group." }, { "info": { "name": "Youtube Delete a Group Item", "type": "http" }, "http": { "method": "DELETE", "url": "https://youtubeanalytics.googleapis.com/v2/groupItems", "params": [ { "name": "id", "value": "abc123def456", "type": "query", "description": "The id parameter specifies the YouTube group item ID for the group item being deleted." }, { "name": "onBehalfOfContentOwner", "value": "example_value", "type": "query", "description": "The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user." } ] }, "docs": "Removes an item from a group. The authenticated user must own the group. Deleting a group item does not delete the underlying resource (video, channel, or playlist)." } ] } ], "bundled": true }