API Reference (hyper cloud)
Cache API
Update Value by Key
9min
This command updates a document in the cache store. By updating the document you can modify the values of the document, as well as modify/extend the time to live or ttl.
If you want to change the key, create a new key/value pair and delete this key/value pair.
- appname - string
- servicename - string
- key - string
- value requirements
- must begin with a lowercase letter (a-z)
- must be lowercase letters (a-z)
- digits (0-9)
- any of these characters _ $ + -
- ttl - string
- _s - for seconds, eg 20s = 20 seconds
- _m - for minutes eg 40m = 40 minutes
- _h - for hours eg 8h = 8 hours
- _d - for days eg 10d = 10 days
Request Payload Limit
When creating or updating the cache, the document size limit isΒ 10MB.
Don't forget!
Be sure to set your HYPER environment variable with the value of your hyper app's connection string.
Node.js
Curl
|
ο»Ώ
Status Code | Description | Example Response |
201 | Success | {"ok": true} |
404 | Key Not Found | { "ok": false, msg: "key not found" } |
500 | Error | {"ok": false, "msg": "..."} |
Need Help?
You can always reach out to our support team for any additional assistance on slack.
ο»Ώ

Updated 24 Mar 2022
Did this page help you?