hellosendpie
Explore posts from serversCommunity Forum Preview
Enough for SEO juice ngl. Also might be easier to make the discord server more active as well.
Mirror posts with a correct answer only. You can end each post with "Continue the conversation on discord" and that way all conversation will be in place too 👀
72 replies
CDCloudflare 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