WARNING: This API has been deprecated and should not be used for new projects. Click here for more information.
Media API Sample: find_modified_videos
This example uses the
find_modified_videos() READ method, which allows you to retrieve data for videos modified since a certain date/time. You can also filter the search to look only for videos that are playable, unscheduled, inactive, or deleted.
Note: making this call from the client side exposes your read token, which could allow a developer to access all video data from your account. If you use the READ token with URL access, that developer could even download copies of all your video files. Brightcove recommends making all Media API calls from a server-side application if possible.
This must be an epoch time in minutes since 1 Jan 1970 — need epoch times? Go to http://www.epochconverter.com, but be careful: the epoch time returned will be in seconds, so you will need to divide by 60 to convert it to minutes.
Page size: Page number:
Only the first page is available until you make a search; then the available pages are recalculated.
Video fields to return:
For details about the video fields, refer to the Video object in the Media API Reference document.
You must use a read token with URL access to return
The following fields are not returned unless they are explicityly included in the
Media API Request
Below is the request sent to the Media API service:
Below is the JSON data returned by the request:
Below is simple HTML output of the video names using the Handlebars templating system: