Uso
WebService URL:
http://magma.edge-americas.com/api/1.1/vod/search.json.php
Special Header:
Authentication: VMAuth {api-key}
POST Variables:
{ "q": {optional string}, "title": true|false, "description": true|false, "hash": true|false, "author": true|false, "tags": true|false, "publishDate": true|false, "limitCount": {optional max count}, "limitFrom": {optional start-from number} }
Ejemplo
WebService URL:
http://magma.edge-americas.com/api/1.1/vod/search.json.php
Special Header:
Authentication: VMAuth 84c43749dfcbde1d3f9f684eb19fb465-8f3ae0f7f71cc78667e2a3f8b5ba4c
POST Variables:
{ "q": "China", "title": true, "description": false, "hash": false, "author": false, "tags": false, "publishDate": false, "limitCount": 20, "limitFrom": 10 }
Resultado:
{ "n": 20, "videos": [ { "id": "1209", "title": "La_China_Suarez_y_Fer_Dente_en_Tu_cara_me_suena_HD.flv", "tags": "", "description": "", "author": "", "storageHash": "ddfc89d697e00b4fef9c4738f4c34dd4-1415634103-3001ef257407d5a371a96dcd947c7d93", "customMetadata": "", "raId": "20044", "duration": "264.32", "status": "200", "width": "426", "height": "240", "publishingDate": "2014-11-10 09:41:43", "poster": http://vod.magma.qaotic.net/media/0/ddfc89d697e00b4fef9c4738f4c34dd4-1415634103-3001ef257407d5a371a96dcd947c7d93/poster.jpg } ] }