PinherePinhere 缺陷协作 API
GET/projects/resolve
按 URL 解析项目
只比较页面 URL 的协议、域名和端口。
Pinhere 项目、Origin、缺陷、私有截图、Webhook、PAT 与 Chrome 扩展 OAuth API;覆盖固定 PontxSpec 中全部 34 个 Endpoint。Hub 提供文档和本地 SDK/CLI,不代理任何请求。
请求
- operationId
resolveProject- 服务器
https://pinhere-jasonhzqs-projects.vercel.app/api/v1- 认证
- pinherePat, websiteSession, extensionOAuth
请求参数
url
querystringuri必填
当前页面 URL。
https://shop.example.com/checkout?step=payment
响应
200
objectapplication/json
匹配项目或 null。
字段: data
default
ErrorResponseapplication/json
标准错误响应。
字段: error
{
"data": {
"project": {
"id": "prj_example",
"userId": "usr_example",
"name": "Checkout",
"description": "Checkout experience issues",
"createdAt": "2026-08-15T08:00:00.000Z",
"updatedAt": "2026-08-15T08:00:00.000Z",
"version": 1
},
"origin": "https://shop.example.com"
}
}