Skip to main content
GET
List trashed QR codes
列出通过 DELETE /qr/{qrid}/ 被软删除(移动到回收站)的二维码。位于 Management API 主机(api.scanova.io)上,使用您的原始 Management API 密钥进行身份验证。
旧路径 /qrcode/trash/ 出于向后兼容目的仍然可用——同一个视图,行为相同。

查询参数

此端点支持与 GET /qr/ 相同的 search、category、tags、type 和 ordering 参数,外加删除日期筛选:
string
ISO 日期。返回在此日期当天或之后被删除的二维码。
string
ISO 日期。返回在此日期当天或之前被删除的二维码。
这是比主列表端点更精简的数据结构——值得注意的是,deleted(软删除时间戳)是回收站专有的字段,并且这里的 dynamic_url_object 被精简为仅 {"has_qr": ...},而不是 GET /qr/ 返回的更完整的对象。分页遵循与主列表端点相同的使用页码而非 URL 约定。

恢复或永久删除回收站中的二维码

本参考文档仅涵盖列出回收站中二维码的功能。仪表盘的恢复和永久删除操作由单独的批量端点支持(分别对 trash/restore/ 和 trash/delete/ 路径发起 POST),目前尚未在本 API 参考文档中记录——如果您今天就需要以编程方式恢复/永久删除二维码,请联系 support@scanova.io。

相关内容

授权

Authorization
string
header
必填

Send your Management API key as the raw value of the Authorization header — no "Bearer " or "Token " prefix, and no other characters. Example: Authorization: YOUR_API_KEY. A header containing more than one space-separated part is rejected outright. Requests also require the request's Host header to be the management API host (e.g. api.scanova.io) — the same key sent to the regular API host will not authenticate.

查询参数

Free-text search, same fields as the main list endpoint.

category
string

Comma-separated category ids or slugs.

tags
string

Comma-separated tag names.

type
string

Comma-separated QR types: dy, st.

ordering
string

Same ordering fields as the main list endpoint.

page
integer
默认值:1

Page number.

page_size
integer
默认值:10

Results per page, maximum 100.

响应

200 - application/json

Paginated list of soft-deleted QR codes.