Refresh Caches Web Service

From FMR Knowledge Base
Jump to navigation Jump to search

Overview

The Fusion Metadata Registry has a Web Service that when invoked will rebuild the caches in the Registry. It is unlikely that you will need to invoke this Web Service as part of the normal running operation of the Registry, but the facility is here if required.

This functionality was introduced in version 11.6.0 of Fusion Metadata Registry.

Refresh Web Service

Entry Point /ws/secure/admin/refresh
Access Secure
Http Method POST
Response Format JSON
Response Statuses

200 - Success

400 - Unauthorized

There is an optional parameter "rebuildSchema" which when specified and has the value "true" will also rebuild the database schema. This will only occur if the tables are not present for some reason.

Examples

Refresh the caches

https://example.registry.com/ws/secure/admin/refresh

Refresh the caches and request that the schemas are rebuilt

https://example.registry.com/ws/secure/admin/refresh?rebuildSchema=true