Check registry API version support
GET
https://api.vercel.com/v2/GET /v2/ Docker Registry v2 version check. Returns a 401 challenge when no credentials are provided, prompting the Docker client to send auth. With valid credentials, returns 200 so the client can proceed.
Request
import { Vercel } from "@vercel/sdk";
const vercel = new Vercel();
async function run() { const result = await vercel.vcr.getRoot();
console.log(result);}
run();Response
"value"