Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Add support for KV namespace write key value expiration and expiration_ttl #74

Open
hnrqer opened this issue Nov 18, 2021 · 0 comments

Comments

@hnrqer
Copy link

hnrqer commented Nov 18, 2021

Looks like this isn't supported currently in the lib:
https://api.cloudflare.com/#workers-kv-namespace-write-key-value-pair

Write a value identified by a key... Existing values and expirations will be overwritten. If neither expiration nor expiration_ttl is specified, the key-value pair will never expire. If both are set, expiration_ttl is used and expiration is ignored.

PUT accounts/:account_identifier/storage/kv/namespaces/:namespace_identifier/values/:key_name?expiration=:expiration&expiration_ttl=:expiration_tt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant