Documentation Center

upload_interface

Returns an HTML page allow for uploading of resources into a skin through the UI.

Parameters

action
upload_interface
resskin
The target skin that will recieve newly uploaded resouces.
restype
The type of the resources to upload (such as img or xql).

Example URL

http://<host>:<port>/<context>/web/dev.xql?action=upload_interface&resskin=<value>&restype=<value>

Successful Result

An HTML page include an embedded Flash upload widget that will allow you to upload resources through the UI.

Failed Result

Accessing this API feature requires the "Develop app" permission, and the function will return a 401 Unauthorized (html/401unauthorized.html) page if the permission is not available.