refreshResourceStatistics

Refresh the statistics on a resource.

Note: This web services operation is different from the procedure of the same name, which is in the resource tree under /lib/resource.

Also see updateResourceStatisticsConfig for enabling statistics gathering.

Location

/services/webservices/system/admin/resource/operations/

Request Elements

path: The path of the resource with statistics gathering enabled.

type: The type of the resource. May only be a relational physical DATA_SOURCE or TABLE.

isBlocking (optional): Boolean indicating if call should block until operation completes.

Response Elements

N/A

Faults

IllegalArgument: If the path is malformed or an illegal type is provided.

NotAllowed: If the statistics are disabled or the resource is of the wrong type.

NotFound: If the resource or any portion of the path to the resource does not exist.

Security: If the user does not have READ access on all items in path.

Security: If the user does not have the ACCESS_TOOLS right.