Refresh Caches Web Service

From FMR Knowledge Base
Revision as of 02:36, 25 April 2023 by Plazarou (talk | contribs) (Created page with "Category:FMR_REST_API_Reference =Overview= The Fusion Metadata Registry has a Web Service that when invoked will rebuild the caches in the Registry. It is unlikely that...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.

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