/mediafile/{mediafile_id}/uploadticket/create [POST]
|
Parameter |
Type |
Description |
Methode |
Obligatory/Option |
|
mediafile_id |
alphanumeric |
id of an original file (then it is without transcode) or empty mediafile |
URL |
obligatory |
|
user_id |
string |
user id, determined to check whether the applicant has the rights and quotas to upload the mediafile |
POST |
obligatory |
|
group_id |
string |
group id, used for any quota check. |
POST |
option |
Since version 1.6.2 this call should be used as a [POST] call, for backward compatibility reasons the [GET ] is also still useable.
/mediafile/6c704fbd4ef58f2447fd1a3e7/uploadticket/create
POST:
user_id=t.gebruiker
group_id=root
|
Field |
Description |
|
upload_ticket |
Mediamosa generated alphanumeric ticket |
|
action |
The action which should specify in the html form action field. |
|
uploadprogress_url |
This url is used during the upload status of an upload request. Only uploads via POST URL can be used. The information that comes back is a JSON format (application / json) using JQuery and can be processed through the client browser. |
<items>
<item id="1">
<upload_ticket>j89y492b84</upload_ticket>
<action>http://upload.vpx.kennisnet.nl/mediafile/upload?upload_ticket=j89y492b84</action>
<uploadprogress_url>http://upload.vpx.kennisnet.nl/mediafile/uploadprogress</uploadprogress_url>
</item>
</items>