Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/tpy/src/types/pylon.d.ts>KV.GET.Items

🔑 A strongly typed Pylon API client.
Latest
type alias KV.GET.Items
import { type KV } from "https://deno.land/x/tpy@v1.0.0-RC/src/types/pylon.d.ts";
const { Items } = KV.GET;

Response schema for GET /deployments/:id/kv/namespaces/:namespace/items.

Returns an array of key and value objects along with other metadata.

Type Parameters

optional
T = unknown

The type of the value.

optional
Raw extends boolean = true
definition: Array<{ key: string; value: ({ string?: Raw extends true ? string : T; bytes: never; } | { bytes?: Raw extends true ? string : T; string: never; }) & { expiresAt?: string; }; }>