By specifying a URI in a specific format, you can access and perform operations on your simple data grid.
/resources/datacaches/[grid_name]/[map_name]/[key]
The
default context root is resources.If you create a simple data grid named MyDataGrid on the appliance with the host name myxc10.ibm.com, then the resulting URL to access key name my.data.item would be:
http://myxc10.ibm.com/resources/datacaches/MyDataGrid/MyMap/my.data.item
In the previous example, the MyMap default map was used in the MyDataGrid grid. This default map does not have any time-to-live (TTL) eviction. Entries that are placed in the data grid stay in the data grid until they are explicitly removed. To configure TTL eviction, see REST gateway example: Time to live (TTL) expiration.