curl "https://api.scanova.io/qr-assets/eye-pattern/" \
-H "Authorization: 401f7ac837da42b97f613d789819ff93537bee6a"
{
"count": 1,
"next": null,
"previous": null,
"results": [
{
"id": 7,
"name": "Rounded Diamond",
"svg": "https://cdn.scanova.io/upload/eye-patterns/7.svg",
"inner_eye_color": "#000000",
"outer_eye_color": "#333333"
}
]
}
QR 资源
列出自定义定位点图案
GET /qr-assets/eye-pattern/
GET
/
qr-assets
/
eye-pattern
/
curl "https://api.scanova.io/qr-assets/eye-pattern/" \
-H "Authorization: 401f7ac837da42b97f613d789819ff93537bee6a"
{
"count": 1,
"next": null,
"previous": null,
"results": [
{
"id": 7,
"name": "Rounded Diamond",
"svg": "https://cdn.scanova.io/upload/eye-patterns/7.svg",
"inner_eye_color": "#000000",
"outer_eye_color": "#333333"
}
]
}
在 Management API 主机(
如果账户的套餐不包含
api.scanova.io)上列出账户自己的自定义 QR 定位点图案,使用您的原始 Management API 密钥进行身份验证。
GET https://api.scanova.io/qr-assets/eye-pattern/
Authorization: 401f7ac837da42b97f613d789819ff93537bee6a
需要
CUSTOM_EYE_PATTERN 套餐配额。仅支持列出——Management API 中没有用于创建、更新或删除定位点图案的端点;自定义定位点图案通过控制台上传。curl "https://api.scanova.io/qr-assets/eye-pattern/" \
-H "Authorization: 401f7ac837da42b97f613d789819ff93537bee6a"
{
"count": 1,
"next": null,
"previous": null,
"results": [
{
"id": 7,
"name": "Rounded Diamond",
"svg": "https://cdn.scanova.io/upload/eye-patterns/7.svg",
"inner_eye_color": "#000000",
"outer_eye_color": "#333333"
}
]
}
CUSTOM_EYE_PATTERN 配额,则返回 403。
相关内容
- 列出 QR 码设计模板——选定后使用定位点图案 id 的位置。
- 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.
响应
Paginated list of eye patterns.
此页面对您有帮助吗?