-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Closed
Labels
content:editRequest for content editsRequest for content editsdocumentationDocumentation editsDocumentation editsproduct:kv
Description
Existing documentation URL(s)
https://developers.cloudflare.com/kv/api/read-key-value-pairs/
What changes are you suggesting?
env.NAMESPACE.get(key: string, type?: string, options?: { cacheTtl: number; type: string });is wrong. It's actually:
env.NAMESPACE.get(key: string, options?: string | { cacheTtl?: number; type?: string });Similarly, it should be:
env.NAMESPACE.getWithMetadata(key: string, options?: string | { cacheTtl?: number; type?: string });Additional information
I haven't checked any other pages. Might also be mistakes there. Worth considering some dynamic gen here too, like the Wrangler commands? cc. @KianNH
Metadata
Metadata
Assignees
Labels
content:editRequest for content editsRequest for content editsdocumentationDocumentation editsDocumentation editsproduct:kv