Skip to main content
GET
改用 fetch 原语获取长图

路径参数

noteid
string
必填

卡片的 noteid。取自卡片命令响应的 noteid、POST /notes/batch-get 响应里 items[].noteid,或 GET /ui-state 的 state.focusnoteid。

查询参数

format
enum<string>
默认值:png

长图的格式。

可用选项:
png,
pdf
width
integer

长图的宽度。像素数超过上限时会被明确拒绝。

必填范围: 320 <= x <= 1200

响应

长图或 PDF 的原始字节。

The response is of type file.