diff --git a/api-docs/apiLive.htm b/api-docs/apiLive.htm index 4295be5f1..e870cd797 100644 --- a/api-docs/apiLive.htm +++ b/api-docs/apiLive.htm @@ -9091,6 +9091,92 @@ Request Body: { } + +
The following settings are possible for cache: +
By default caching is set to No Caching. Switching between caches results in the cache been clear e.g. from Single node to No cache and back again would clear down the single node cache.
+Returns the list of caches.
+Example Requests:
+
+GET https://DomainName/api/v1/caches
+
+
+[
+ {
+ "cacheType": {
+ "id": 1,
+ "code": "cacheType.noCache",
+ "value": "No cache"
+ },
+ "enabled": true
+ },
+ {
+ "cacheType": {
+ "id": 2,
+ "code": "cacheType.singleNode",
+ "value": "Single node"
+ },
+ "enabled": false
+ },
+ {
+ "cacheType": {
+ "id": 3,
+ "code": "cacheType.multiNode",
+ "value": "Multi node"
+ },
+ "enabled": false
+ }
+]
+
+ Switches the cache to chosen one.
+
+PUT https://DomainName/api/v1/caches
+
+
+PUT caches
+Content-Type: application/json
+Request Body:
+{
+ "cacheType": 2
+}
+
+
+{
+ "changes": {
+ "cacheType": 2
+ }
+}
+
+