Web Sessions 4.3.9 | Terracotta REST Developer Guide | Using Query Parameters in URIs | Using Query Parameters in URIs
 
Using Query Parameters in URIs
GET and HEAD HTTP operations can execute queries on specific resources. Query parameters are executed using the show parameter:
/agents[;ids={comma_sep_agent_ids}]/cacheManagers[;names=
   {comma_sep_cache_manager_names}]/caches[;names={comma_sep_cache_names}
   ?show=[parameter]&show=[parameter]
For example, to retrieve the values for the parameters HasWriteBehindWriter and MaxBytesLocalDiskAsString for the CacheManager CM1 on an Ehcache with the ID "foo", use the following:
/agents;ids=foo/cachemanagers;names=CM1?show=HasWriteBehindWriter?
show=MaxBytesLocalDiskAsString
This query returns a JSON object similar to the following:
[{"name": "CM1","attributes": {"HasWriteBehindWriter":true,
"MaxBytesLocalDiskAsString":"300M"},"guid":"95d40b093c9f44389f3cc122fbe1c30b",
"agentId":"embedded","version":"1.0.0"}]