Documentation Center

get_upload_log

Remove and return an XML resource from the user's home directory in the database.

Description

Get the XML resource tagged with the key from the user's directory in the database and remove it from the database.

Parameters

action
get_upload_log
key
The key assigned to the resource when it was stored.

Example URL

http://<host>:<port>/<context>/web/pub.xql?action=get_upload_log&key=<value>

Successful Result

The XML resource.

Failed Result

Accessing this API feature requires the "Manage pubs" permission, and the function will throw a permission exception if the permission is not available.