Skip to main content
Module

x/tpy/mod.ts>Pylon.KV.GET.Items

🔑 A strongly typed Pylon API client.
Go to Latest
type alias Pylon.KV.GET.Items
import { type Pylon } from "https://deno.land/x/tpy@v1.0.0-pre-release-11/mod.ts";
const { Items } = Pylon.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; }; }>