Query Cache Store
GET /{appname}/cache/{servicename}/_query
With this command, specify a request comparison pattern in the query. When applied the pattern will be used to match all the keys in the cache and only return the ones that match the pattern. Using the * wildcard, you can define patterns that match all the key values that either start with the provided pattern, end with the pattern, or is in-between the pattern.
Use wildcard characters as comparison criteria for text filters, and when you're searching
Parameters
Path parametes
- appname - the name of your hyper cloud application.
- servicename - the name of your hyper cloud service within the application.
Query string parameters
- pattern - string - this parameter is not required, but when applied the value will be used to match all the keys in the cache and only return the ones that match the pattern. Using an * wildcard, you can create a selector to perform the following types of filters:
- starts with - movie*
- ends with - *-1984
- in between - movie*1984
Examples
Don't forget!
Be sure to set your HYPER environment variable with the value of your hyper app's connection string.
Responses
Status Code | Description | Example Response |
200 | Success | {"ok": true, "docs": [...]} |
500 | Error | {"ok": false, "msg": "..."} |
Need Help?
You can always reach out to our support team for any additional assistance on slack.
ο»Ώ
