JSON Rest API - Rotate Asset

Rotate Asset

Rotates an asset

Request

URL

 /assets/mediadb/services/module/asset/media/rotateasset 

Parameters

assetid: Asset's ID
rotate: Degrees to rotate

Sample Request

 curl -H "Content-Type: application/json" \ -X POST http://entermedia.org/mediadb/services/module/asset/create \ -b 'entermedia.key=adminxxxx' \ -d '{ "assetid": "101", "rotate": "90" }' 

Response

If successful the response will be 200OK and status: "ok"

Sample Response

 { "response": { "status": "ok", "height": 200, "width": 133 } }