The CacheGUI service lets you perform getAll, clear and clearAll operations on your scope’s GUI caches.
getAllallows you to retrieve all caches in the scope.clearAllpurges all your scope’s caches.clearallows you to purge a list of caches defined by their name.
Cache retrieval
The following example shows how to retrieve the list of all FlowerDocs scope caches.
GET ALL:
GET {{gui}}/rest/caches HTTP/1.1
-- URL parameters --
gui: FlowerDocs gui host
-- Headers --
token: {{token}}
Content-Type: application/json
Cache purge
The examples below show how to purge FlowerDocs scope caches using the various operations of clear.
CLEAR ALL:
DELETE {{gui}}/rest/caches HTTP/1.1
-- URL parameters --
gui: FlowerDocs gui host
-- Headers --
token: {{token}}
Content-Type: application/json
CLEAR:
DELETE {{gui}}/rest/caches/{names} HTTP/1.1
-- URL parameters --
gui: FlowerDocs gui host
names: name of caches to be purged
-- Headers --
token: {{token}}
Content-Type: application/json