Skip to content
Docs

Check registry API version support

GEThttps://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"
200Success
400Error
401The request is not authorized.
402The account is missing a payment so payment method must be updated
403You do not have permission to access this resource.
404Error
410Error