Readme

GET /v1/vals/{val_id}/versions

Returns information about each version of a specific val.

To access private vals this requires a secret called valtownToken, set to your API Token. See more about authentication to understand how to generate a token.

1
2
3
4
5
6
7
import process from "node:process";
import { valVersions } from "https://esm.town/v/neverstew/valVersions";
export const getValVersions = valVersions({
token: process.env.valtownToken,
id: "0cfbf317-18a4-4da5-b887-b75bb8a33108",
});
Val Town is a social website to write and deploy JavaScript.
Build APIs and schedule functions from your browser.
Comments
Nobody has commented on this val yet: be the first!
October 23, 2023