agg_store_index
Store index of resources for analytics on the aggregation server.
Description
This function receives via HTTP POST a packet containing an index of doc and media resources and stores the data into the working area of the audit collection in the eXist db. This index can be used to determine which resources are never getting accessed.
Parameters
- action
- agg_store_index
Example URL
http://<host>:<port>/<context>/web/audit.xql?action=agg_store_index
Successful Result
<STORED> XML element with count of publications and resources contained in the index packet.
Failed Result
In the case of an error, this function returns a standard API result element with a non-zero statusCode (such as, <result status='FAIL' statusCode='200' message='Localized Failure Message' messageKey='message.key'/>). Refer to API Error Code Reference.