{
  "opencollection": "1.0.0",
  "info": {
    "name": "YouTube Analytics Analytics Groups Group Items 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": "Group Items",
        "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": "",
                "type": "query",
                "description": "The group ID to retrieve items for"
              },
              {
                "name": "onBehalfOfContentOwner",
                "value": "",
                "type": "query",
                "description": "The content owner ID for YouTube content owner operations.\nRequired for content owner authenticated requests.\n"
              },
              {
                "name": "access_token",
                "value": "",
                "type": "query",
                "description": "OAuth 2.0 access token for authentication"
              },
              {
                "name": "prettyPrint",
                "value": "",
                "type": "query",
                "description": "Returns response with indentations and line breaks for readability"
              }
            ]
          },
          "docs": "Returns a collection of group items that match the API request parameters.\nGroup items represent the individual channels or videos that belong to\nan analytics group.\n"
        },
        {
          "info": {
            "name": "Youtube Add Item to Group",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://youtubeanalytics.googleapis.com/v2/groupItems",
            "params": [
              {
                "name": "onBehalfOfContentOwner",
                "value": "",
                "type": "query",
                "description": "The content owner ID for YouTube content owner operations.\nRequired for content owner authenticated requests.\n"
              },
              {
                "name": "access_token",
                "value": "",
                "type": "query",
                "description": "OAuth 2.0 access token for authentication"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Adds a channel or video to an analytics group. The item will be included\nin the group's aggregated analytics data going forward.\n"
        },
        {
          "info": {
            "name": "Youtube Remove Item from Group",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://youtubeanalytics.googleapis.com/v2/groupItems/:itemId",
            "params": [
              {
                "name": "itemId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the group item"
              },
              {
                "name": "onBehalfOfContentOwner",
                "value": "",
                "type": "query",
                "description": "The content owner ID for YouTube content owner operations.\nRequired for content owner authenticated requests.\n"
              },
              {
                "name": "access_token",
                "value": "",
                "type": "query",
                "description": "OAuth 2.0 access token for authentication"
              }
            ]
          },
          "docs": "Removes a channel or video from an analytics group. The item's historical\ndata will no longer be included in the group's aggregated metrics.\n"
        }
      ]
    }
  ],
  "bundled": true
}