http://de.piksel.tech/ws/add_file_asset/mode/json/apiv/5.0?method=put&Use "request" param as post variable for submitting json/xml request payload for all PUT requests.
Ingest file asset into a particular account.
{ "request": { "authentication": { "app_token": "#app_token#", "client_token": "#client_token#", "user_token": "#user_token#" }, "header": { "header_version": 1, "api_version": "5", "no_cache": true }, "add_file_asset": { "title": "cdscds", "description": "description", "metadatas": { "metaname1": "metaname1value" }, "tags": "", "referenceId": "dcsddsvdv", "callbackurl": "", "filename": "Penguin.jpg", "folders": [ ] } } }
{ "response": { "success": { "code": 501, "message": "Asset Saved\/Updated", "details": "assetid 5" }, "addFileAssetResponse": { "assetid": 5, "title": "Matitle", "dateadd": "2014-11-03T17:45:52Z", "datemod": "2014-11-03T17:45:52Z", "description": "asdad", "tags": "tag tag tag ", "isActive": 1, "uuid": "dubstepUuid", "isPublished": 1, "date_start": "-0001-11-30T00:00:00Z", "date_end": "-0001-11-30T00:00:00Z", "youtubePublishable": 1, "referenceId": "qweqweZdSw123", "assetType": "binary", "asset_type": "binary", "metadatas": { "Title": { "value": "one", "type": "text" }, "Description": { "value": "two", "type": "textArea" } }, "folders": [ 3, 23 ] } } }