Using the Postman Workspace for the Live API Quick Start

The JSON file enclosed in this zip is an importable Postman collection and enviroment with requests and an environment set up to help you complete the steps of the Live API Quick Start.

Steps

  1. Open Postman and click Import.
  2. Select the Quick Start- Create Live Event with the Live API.postman_collection.json and the 17763-server-side-ad-insertion-using-brightcove-live-api/Quick Start- Create Live Event.postman_environment.json files from you hard drive and import them.
  3. Open the Quick Start: Create Live Event with the Live API Collection.
  4. Go to Manage Environments and select the Quick Start: Create Live Event enviroment - the data inside will look like this:
    
    	account_id: YOUR_ACCOUNT_ID_HERE
    	api_key: YOUR_LIVE_API_KEY_HERE
    	client_id: YOUE_CMS_API_CLIENT_ID_HERE
    	client_secret: YOUE_CMS_API_CLIENT_SECRET_HERE
    	video_name: SOME_NAME_FOR_YOUR_VIDEO
    	video_id: VIDEO_ID_FROM_THE_RESPONSE_TO_THE_CREATE_VIDEO_REQUEST
    	playback_url: PLAYBACK_URL_FROM_CREATE_LIVE_JOB_RESPONSE
    	access_token_url: https://oauth.brightcove.com/v4/access_token
    
  5. Enter your values for the account_id, api_key, client_id, client_secret, and video_name variables (the video_name is arbitrary; use anything you like)
  6. Click Done to save changes.
  7. Open the Quick Start: Create Live Event and select the Create Live Job request.
  8. If you entered all the necessary variable values in the previous step, the request should be ready to send - click Send to make the request.
  9. From the response, copy the playback_url value (or the playback_url_dvr value; either will work).
  10. Open the Quick Start: Create Live Event Environment again and use the value you copied for playback_url variable. Save changes.
  11. Now select the Create Video request and send it.
  12. Copy the id for the video from the response, open the Quick Start: Create Live Event Environment again and use the value you copied for video_id variable. Save changes.
  13. You can now send the Add Remote HLS Manifest request to complete the Quick Start.