hellosendpie
Explore posts from serversCDCloudflare Developers
•Created by Hello, I’m Allie! on 11/6/2023 in #kv
Cloudflare API Documentation
Yup! It's not working. I'll find a place to report this bug.
Since the /bulk/ endpoint seems to be working for setting expiration/expiration_ttl:
- would there be any risk (w.r.t api limits) in just using the /bulk/ API endpoint, but adding just 1 array element each time I meed to make a write?
11 replies
CDCloudflare Developers
•Created by Hello, I’m Allie! on 11/6/2023 in #kv
Cloudflare API Documentation
I'm guessing in that case, this isn't really supported?
11 replies
CDCloudflare Developers
•Created by Hello, I’m Allie! on 11/6/2023 in #kv
Cloudflare API Documentation
When I request my data, I can't see "expiration" as a key set here.
When I use /bulk/ endpoint, it sets an "expiration" epoch key to my data.
11 replies
CDCloudflare Developers
•Created by Hello, I’m Allie! on 11/6/2023 in #kv
Cloudflare API Documentation
This is a fresh namespace, I'm all okay with tinkering around.
I'll try a bunch of permutation combinations and check
11 replies
CDCloudflare Developers
•Created by Hello, I’m Allie! on 11/6/2023 in #kv
Cloudflare API Documentation
11 replies
CDCloudflare Developers
•Created by Hello, I’m Allie! on 11/6/2023 in #kv
Cloudflare API Documentation
I can see your screenshot is from the latter endpoint as well, but I need help with the former
11 replies
CDCloudflare Developers
•Created by Hello, I’m Allie! on 11/6/2023 in #kv
Cloudflare API Documentation
Thank you so much!
Does the
endpoint support this?
Expiration only seems to work for me for the
endpoint
11 replies
CDCloudflare Developers
•Created by Hello, I’m Allie! on 11/6/2023 in #kv
Cloudflare API Documentation
Ah, thanks! I'll make my own wrapper in that case.
https://developers.cloudflare.com/api/operations/workers-kv-namespace-write-key-value-pair-with-metadata
^ Do I need to set "expiration" value within the metadata object?
11 replies