工件

检查缓存工件是否存在

检查具有给定 `hash` 的缓存工件是否存在。此请求仅返回响应头,并且等效于对此端点的 `GET` 请求,其中响应不包含正文。

HEAD
/v8/artifacts/{hash}

授权

Authorization必需Bearer <token>

默认身份验证机制

位置:header

路径参数

hash必需string

工件哈希值

查询参数

teamIdstring

代表执行请求的团队标识符。

slugstring

代表执行请求的团队别名。

curl -X HEAD "https://api.vercel.com/v8/artifacts/12HKQaOmR5t5Uy6vdcQsNIiZgHGB?teamId=string&slug=string" \
  -H "Authorization: Bearer <token>"

已找到工件并返回请求头