{
  "opencollection": "1.0.0",
  "info": {
    "name": "YouTube Analytics Analytics Groups LiveStreams 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": "LiveStreams",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Youtube List Live Streams",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://youtubeanalytics.googleapis.com/v2/liveStreams",
            "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 live stream IDs for the resources being retrieved."
              },
              {
                "name": "mine",
                "value": "true",
                "type": "query",
                "description": "Set this parameter to true to instruct the API to return only streams owned by the authenticated user."
              },
              {
                "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. The nextPageToken property in the API response identifies other pages that are 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 video streams that match the API request parameters. You can retrieve streams for the authenticated user or retrieve specific streams by their IDs."
        },
        {
          "info": {
            "name": "Youtube Create a Live Stream",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://youtubeanalytics.googleapis.com/v2/liveStreams",
            "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 video stream. The stream enables you to send your video to YouTube, which can then broadcast the video to your audience. After creating the stream you must bind it to a broadcast."
        },
        {
          "info": {
            "name": "Youtube Update a Live Stream",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://youtubeanalytics.googleapis.com/v2/liveStreams",
            "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": "Updates a video stream. If the properties that you want to change cannot be updated, you need to create a new stream with the proper settings."
        },
        {
          "info": {
            "name": "Youtube Delete a Live Stream",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://youtubeanalytics.googleapis.com/v2/liveStreams",
            "params": [
              {
                "name": "id",
                "value": "abc123def456",
                "type": "query",
                "description": "The ID of the live stream to delete."
              },
              {
                "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": "Deletes a video stream. The authenticated user must own the stream being deleted. Streams bound to active or scheduled broadcasts cannot be deleted."
        }
      ]
    }
  ],
  "bundled": true
}