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
import { fetchJSON } from "https://esm.town/v/stevekrouse/fetchJSON?v=43";
console.log(await fetchJSON("https://api.val.town/v1/vals/7f9019e4-dbf8-4ebe-b8cd-67730697624e/versions"));
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!
March 20, 2024