curl "https://api.scanova.io/qr-assets/category-template/?category_slug=website-url"
[
{
"id": 21,
"name": "Ocean Blue",
"template_id": "cat-tpl-21",
"category_slug": "website-url",
"pattern_info": "{\"dotStyle\":\"round\"}",
"image": "https://cdn.scanova.io/upload/category-templates/21.png",
"created": "2026-01-15T08:00:00Z"
}
]
QR 资源
列出分类模板
GET /qr-assets/category-template/
GET
/
qr-assets
/
category-template
/
curl "https://api.scanova.io/qr-assets/category-template/?category_slug=website-url"
[
{
"id": 21,
"name": "Ocean Blue",
"template_id": "cat-tpl-21",
"category_slug": "website-url",
"pattern_info": "{\"dotStyle\":\"round\"}",
"image": "https://cdn.scanova.io/upload/category-templates/21.png",
"created": "2026-01-15T08:00:00Z"
}
]
在 Management API 主机(
api.scanova.io)上列出按 QR 分类划分的共享预定义设计模板目录。
GET https://api.scanova.io/qr-assets/category-template/
Authorization: 401f7ac837da42b97f613d789819ff93537bee6a
此端点不需要 Management API 密钥——它有意向匿名调用者开放(面向 Publish Panel 模板库的访客访问)。该数据集是一个共享的、非个性化的目录,不与任何账户绑定,因此没有需要保护的用户特定内容。
string
过滤某个 QR 分类的模板,例如
website-url。curl "https://api.scanova.io/qr-assets/category-template/?category_slug=website-url"
[
{
"id": 21,
"name": "Ocean Blue",
"template_id": "cat-tpl-21",
"category_slug": "website-url",
"pattern_info": "{\"dotStyle\":\"round\"}",
"image": "https://cdn.scanova.io/upload/category-templates/21.png",
"created": "2026-01-15T08:00:00Z"
}
]
不分页
响应是一个纯 JSON 数组,而非本模块其他所有列表端点使用的常规{count, next, previous, results} 信封——完整的匹配结果集在一次响应中全部返回。
相关内容
- 列出 QR 码设计模板——账户拥有的等效端点,该端点会分页。
- Management API 概览——适用于此端点的身份验证方案和配额规则。
授权
Send your Management API key as the raw value of the Authorization header — no "Bearer " or "Token " prefix, and no other characters. Example: Authorization: 401f7ac837da42b97f613d789819ff93537bee6a. 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.
查询参数
Filter to templates for one QR category, e.g. website-url.
响应
200 - application/json
Plain array of category templates (no pagination envelope).
此页面对您有帮助吗?