Difference between revisions of "Refresh Caches Web Service"

From Fusion Registry Wiki
Jump to navigation Jump to search
(Examples)
Line 27: Line 27:
 
  https://example.registry.com/ws/secure/admin/refresh
 
  https://example.registry.com/ws/secure/admin/refresh
  
Refresh the caches and request that the schemas are rebuilt
+
Refresh the caches and request that the schemas are rebuilt.
 
  https://example.registry.com/ws/secure/admin/refresh?rebuildSchema=true
 
  https://example.registry.com/ws/secure/admin/refresh?rebuildSchema=true

Revision as of 09:21, 2 August 2023

Overview

The 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