{
  "opencollection": "1.0.0",
  "info": {
    "name": "Brightcove Analytics API Reference Access Tokens Player Configurations API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Player Configurations",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get player configuration",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://analytics.api.brightcove.com/accounts/:{account_id}/players/:{player_id}/configuration/:branch",
            "headers": [
              {
                "name": "Content-Type",
                "value": "application/json"
              },
              {
                "name": "Authorization",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path",
                "description": "Video Cloud account ID."
              },
              {
                "name": "player_id",
                "value": "",
                "type": "path",
                "description": "Brightcove Player ID."
              },
              {
                "name": "branch",
                "value": "",
                "type": "path",
                "description": "A plugin id"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://oauth.brightcove.com/v4/access_token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Get a preview or published player configuration"
        },
        {
          "info": {
            "name": "Update player configuration",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://analytics.api.brightcove.com/accounts/:{account_id}/players/:{player_id}/configuration",
            "headers": [
              {
                "name": "Content-Type",
                "value": "application/json"
              },
              {
                "name": "Authorization",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path",
                "description": "Video Cloud account ID."
              },
              {
                "name": "player_id",
                "value": "",
                "type": "path",
                "description": "Brightcove Player ID."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://oauth.brightcove.com/v4/access_token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Update a player configuration"
        }
      ]
    }
  ],
  "bundled": true
}