Pinhere/claimNextIssue

Online calls unavailable · details below

PinherePinhere issue collaboration API

POST/issues/claim-next

Claim next issue

Atomically claims the oldest open issue in a project, or returns null.

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
claimNextIssue
Server
https://pinhere-jasonhzqs-projects.vercel.app/api/v1
Authentication
pinherePat, websiteSession, extensionOAuth

Request parameters

Idempotency-Key

headerstring

Retained for 24 hours per account and endpoint; reuse with a different request returns 409.

example-idempotency-key

Request body

ClaimNextInputrequired

Content-Type: application/json

Properties: projectId

Responses

200

objectapplication/json

Claimed issue or null.

Properties: data

default

ErrorResponseapplication/json

Standard error response.

Properties: error

{
  "data": {
    "issue": {
      "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"
    }
  }
}