PinherePinhere issue collaboration API
POST/issues/{issueId}/claim
Claim issue atomically
Atomically claims an open issue for one caller.
Pinhere APIs for projects, origins, issues, private screenshots, webhooks, PATs, and Chrome-extension OAuth. The fixed PontxSpec covers all 34 Endpoints. Hub provides documentation and a local SDK/CLI only; it proxies no request.
Request
- operationId
claimIssue- Server
https://pinhere-jasonhzqs-projects.vercel.app/api/v1- Authentication
- pinherePat, websiteSession, extensionOAuth
Request parameters
issueId
pathstringrequired
Issue ID.
iss_example
Idempotency-Key
headerstring
Retained for 24 hours per account and endpoint; reuse with a different request returns 409.
example-idempotency-key
Responses
200
objectapplication/json
Issue claimed.
Properties: data
409
ErrorResponseapplication/json
Issue is already claimed.
Properties: error
default
ErrorResponseapplication/json
Standard error response.
Properties: error
{
"data": {
"id": "iss_example",
"userId": "usr_example",
"projectId": "prj_example",
"title": "Checkout button does not submit",
"description": "Clicking the button leaves the page unchanged.",
"pageUrl": "https://shop.example.com/checkout",
"dom": {
"cssSelector": "#checkout-button",
"xpath": "//*[@id='checkout-button']",
"tagName": "BUTTON",
"attributes": {},
"text": "Submit order",
"outerHTML": "<button id=\"checkout-button\">Submit order</button>",
"viewport": {
"width": 1440,
"height": 900,
"devicePixelRatio": 2
},
"boundingRect": {
"x": 1040,
"y": 720,
"width": 180,
"height": 44
}
},
"status": "open"
}
}