Readme

GET /v1/vals/{val_id}/versions/{version}

Returns information about a specific version of a 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
8
import process from "node:process";
import { valVersion } from "https://esm.town/v/neverstew/valVersion";
export const getValVersion = valVersion({
token: process.env.valtownToken,
id: "7f9019e4-dbf8-4ebe-b8cd-67730697624e",
version: 4,
});
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