Media API method calls are made by HTTP requests, similar to web services calls.
Common questions about the Video Cloud Media API.
Media API method calls are made by HTTP requests, similar to web services calls.
The Media API methods can deliver their output in JSON or Yahoo's Media RSS (MRSS) format.
The Media API is a REST-based set of functionality for interacting with your Video Cloud Media Library. It provides read methods that let you access the metadata of your videos and playlists, and write methods that let you create, modify, or delete videos or playlists.
To get started with the Media API, you need the API tokens that authenticate your requests. If your Video Cloud account was created after the Brightcove 3.3.2 release (August 27, 2009), a read token and a read token with URL access were automatically generated for you when your account was created. If your account was created before that, or if you need a write token or other additional tokens issued to you, contact Brightcove customer support.
Because Media API method calls are made in the form of HTTP requests, you can use the Media API with any language, client-side or server-side, that supports making HTTP requests. And what language doesn't? This release provides examples of how to use the Media API with Java, JavaScript, ActionScript, and PHP. Video Cloud-savvy developers have created SDKs for JavaScript, ActionScript, Java, PHP, .NET, and more, which will make the Media API even easier to use. Search the Forum for more information.
The dates in the Media APIs are in terms of milliseconds since the UNIX epoch and thus are independent of timezone. If your code converts between millisecond values and regular year/month/ day values, you need to choose what timezone to use in the conversion. (Often such code will use the timezone of the current server it is running on if no other is specified.)
This utility will convert and allow you to choose the timezone: http://www.epochconverter.com