Pinhere/addProjectOrigin

Online calls unavailable · details below

PinherePinhere issue collaboration API

POST/projects/{projectId}/origins

Add project origin

Adds a normalized origin and increments the project version.

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

Request parameters

projectId

pathstringrequired

Project ID.

prj_example

Idempotency-Key

headerstring

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

example-idempotency-key

Request body

OriginInputrequired

Content-Type: application/json

Properties: origin

Responses

201

objectapplication/json

Origin added.

Properties: data

409

ErrorResponseapplication/json

Origin already assigned.

Properties: error

default

ErrorResponseapplication/json

Standard error response.

Properties: error

{
  "data": {
    "origin": "https://shop.example.com",
    "projectVersion": 2
  }
}