Artifacts

查询有关神器的信息

查询一组伪影的信息。

POST
/v8/artifacts

Authorization

AuthorizationRequiredBearer <token>

默认身份验证机制

In: header

请求正文

application/json可选
hashes必需array<string>

伪影的哈希值

Query Parameters

teamIdstring

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

slugstring

代表其执行请求的团队 slug。

curl -X POST "https://api.vercel.com/v8/artifacts?teamId=string&slug=string" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "hashes": [
      "string"
    ]
  }'

{
  "property1": {
    "size": 0,
    "taskDurationMs": 0,
    "tag": "string"
  },
  "property2": {
    "size": 0,
    "taskDurationMs": 0,
    "tag": "string"
  }
}