de.piksel.tech/services/index.php?&mode=jsonUse "request" param as post variable for submitting json/xml request payload for all POST requests.
Name |
---|
Creates asset custom embed
{ "request": { "authentication": { "app_token": "7cd207c2-6808-11e3-b865-22000a8a28ea", "client_token": "d4c1b92c0acb102ba3e10015c5f061d1", "user_token": "f277cb9d46e45f67f44de949cdde110f" }, "header": { "header_version": 1, "api_version": "5", "no_cache": true }, "WsAssetCustomEmbed": { "assetId": 1, "title": "title", "playerId": 1, "autoPlay": true, "width": 480, "height": 360, "deliveryType": "rtmp" } } }
{ "response": { "success": { "code": null, "message": "", "details": "" }, "WsAssetCustomEmbedResponse": { "id": 1, "assetId": 1, "title": "title", "playerId": 1, "autoPlay": true, "width": 480, "height": 360, "deliveryType": "rtmp", "embedcode": "PHNjcmlwdCB0eXBlPSJ0ZXh0L2phdmFzY3JpcHQiIHNyYz0iaHR0cDovL3FhLW92cC5waWtzZWwuY29tL2pzYXBpL2NvbW1vbkZ1bmN0aW9ucy5qcyI%2BPC9zY3JpcHQ%2BDQo8c2NyaXB0IHR5cGU9InRleHQvamF2YXNjcmlwdCIgc3JjPSJodHRwOi8vYXNwbGF5ZXItb3ZwLnBpa3NlbC5jb20va2lja0ZsYXNoL3NjcmlwdHMvc3dmb2JqZWN0Mi5qcz8yIj48L3NjcmlwdD4NCjxzY3JpcHQgdHlwZT0idGV4dC9qYXZhc2NyaXB0Ij4NCihmdW5jdGlvbigpew0KDQp2YXIgYWlkPShLaXRDbG91ZEFQSS5wYXJzZVF1ZXJ5U3RyaW5nV2l0aERlZmF1bHQoImFzc2V0IiwxMDM2MzUyKSk7DQp2YXIgd2lkdGggPSAiNDgwIjsNCnZhciBoZWlnaHQgPSAiMzYwIjsNCnZhciB1dWlkID0gImZ0YWo0dnl1IjsNCnZhciBzd2ZVUkwgPSAiaHR0cGFzYXNzZXQtb3ZwLnBpa3NlbC5jb20vYXBwL0FwcExvYWRlci5zd2YiOw0KdmFyIGpzb25VUkwgPSAiaHR0cCUzQS8vcWEtb3Z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