The APIs allow you to embed and interact with Meride data in your application. You can upload videos, process embeds, perform searches and much more.
The Meride APIs allow you to create applications that use the Representational State Transfer software architecture. Currently the only format supported in the replies is JSON
curl -i -H "Accept: application/json" -H "access-token: Fun94nBf4YiaL20hG5np2Ki8mHtm9OCn4R6lPamNM8mNn7YFDRUvZveSbB0n6T" http://API_DOMAIN/rest/v2/video.json
[ ... { "id":"2", "title":"Video title", "short_description":"", "description":"", "tags":"", "available_video":"1", "invalid_video" : "0", "created_at":"2012-09-25 17:55:47", "preview_image":"http:\/\/example.com\/meride\/video\/images\/test_image.jpg" } ... ]
curl -i -H "Accept: application/json" -H "Content-Type:application/json" -H "access-token: [your-access-token]" -X POST http://API_DOMAIN/rest/v2/video.json -d ' { "title": "Video title", "video": "http://storage.video/video_source.mp4", "preview_image": "http://storage.image/test_image.jpg" } '
access-token
parameter in the Headers, but it is always required otherwise the authorization will fail.
-F
parameter separately for each field to be treated { "id":"2", "title":"Video title", "short_description":"", "description":"", "tags":"", "available_video":"1", "invalid_video" : "0", "created_at":"2012-09-25 17:55:47", "preview_image":"http:\/\/example.com\/meride\/video\/images\/test_image.jpg" }