Details
-
Enhancement
-
Resolution: Unresolved
-
Major
-
None
-
None
-
None
Description
We should deprecate /v2/caches/{cacheName}/{cacheKey} in favour of /v2/caches/{cacheName}/entries/{cacheKey} since this request is stealing all the namespaces below caches/{cacheName}, and it's leading to less RESTful endopints than desired.
For example, the mutable attributes for caches are currently:
GET /v2/caches/{cacheName}?action=get-mutableattributes GET /v2/caches/{cacheName}?action=get-mutableattributes&attribute-name={attributeName} POST /v2/caches/{cacheName}?action=set-mutableattribute&attribute-name={name}&attribute-value={value}
But it could be
GET /v2/caches/{cacheName}/attributes GET /v2/caches/{cacheName}/attributes/{attributeName} POST /v2/caches/{cacheName}/attributes/{attributeName}