Pinhere/downloadAttachment

暂不支持在线调用 · 原因见下方

PinherePinhere 缺陷协作 API

GET/attachments/{attachmentId}

读取截图

鉴权后流式读取私有截图。

Pinhere 项目、Origin、缺陷、私有截图、Webhook、PAT 与 Chrome 扩展 OAuth API;覆盖固定 PontxSpec 中全部 34 个 Endpoint。Hub 提供文档和本地 SDK/CLI,不代理任何请求。

请求

operationId
downloadAttachment
服务器
https://pinhere-jasonhzqs-projects.vercel.app/api/v1
认证
pinherePat, websiteSession, extensionOAuth

请求参数

attachmentId

pathstring必填

截图 ID。

att_example

响应

200

stringimage/pngimage/jpegimage/webp

PNG、JPEG 或 WebP 截图字节。

404

ErrorResponseapplication/json

截图不存在。

字段: error

503

ErrorResponseapplication/json

截图存储不可用。

字段: error

default

ErrorResponseapplication/json

标准错误响应。

字段: error