Overview
In order to publish players to a CDN, the Player Management API utilizes the Delivery System API. The Delivery System API allows you to create a git repository, the contents of which get hosted on players.brightcove.net. When a player is created, Brightcove creates a repository behind the scenes. Every time the player is re-published, whether directly requested by a publisher or when a Brightcove player update is released, there is a corresponding commit and push to that repository.
Git repositories, among other things, provide a history of changes over time. While debugging a player, it can sometimes be quite useful to get a copy of this repository so you can examine the change history yourself. First, you will learn how to retrieve general information about your player, using the command line tool curl and/or the Chrome plugin Postman. You will then learn how to see player history for creation and publishing.
Player information
Those comfortable on the command line will most likely want to use curl for getting player information, whereas those more comfortable with a GUI will choose the Postman option.
Using curl
If you are not familiar with curl and setting environment variables, read through the first two sections of the Step-by-Step: Player Management. Be sure the following environment variables are set:
- ACCOUNT_ID
- PLAYER_ID
You can then use the following curl statement to get information about your player.
The API will return a response similar to the following:
Using Postman
Postman provides a more friendly UI to interact with the API. If you are unfamiliar with Postman, read through the Use Postman for HTTP Requests doc for a basic understanding. You do not create environment variables when using Postman. Instead you build the URL location with appropriate values in the URL. For instance, the following shows an appropriate URL for use in Postman, containing account and player ID.
To use Postman perform the following:
- Enter the URL at the top of the form.
- Set the HTTP method to GET.
- Create a header using Content-Type and the corresponding value application/json.
- Click the Send button.
- Enter your Studio credentials when prompted.
The response will then be returned. For ease of viewing, be sure to click the Pretty and JSON buttons just above the response.

Player history
In this section you will be using git commands. For a very brief tutorial on git, see the Git Overview document.
You will first clone a player repo. A directory will be created in the name of the player ID, in the directory
where you issue the git clone
command.
- Open a Terminal/Command prompt and navigate to a location in which you want the folder created.
- Next, create a URL for the player repo in the form:
Example:
- At the command prompt, create or move to a directory in which you want to clone the player repository.
- Once you are in that directory, enter the following git command to clone the player repository, substituting your own account and player ids: and press return/Enter.
- In the response, you should see something like the following:
- At the command line (or in your file manager), locate the the cloned player directory to make sure it was cloned to the desired location; it will be named as follows:
- At the command line, change directories to the cloned player repository directory that you located in the previous step.
- Enter the command: and press return/Enter.
- You should see a response similar to the following:
- The commit IDs will be used to get more detailed information. See Commit Information for more details.
Commit information
The following can be used to gather different information on player commits. Of course, you will need to substitute your particular commit IDs, which can be obtained from the player history response as shown in the previous section.
- Display specifics about a single commit (publish request)
- Display differences between commits (publish requests)
- Display what files changed in each commit