curl "https://api.scanova.io/qr-assets/template/" \
-H "Authorization: 401f7ac837da42b97f613d789819ff93537bee6a"
{
"count": 1,
"next": null,
"previous": null,
"results": [
{
"id": 12,
"name": "Summer Poster",
"template_id": "a1b2c3d4e5f6",
"template_type": "P",
"template_type_display": "Poster",
"pattern_info": "{\"dotStyle\":\"round\"}",
"image": "https://cdn.scanova.io/upload/images/42/template-foo.png"
}
]
}
QR-Assets
QR-Code-Designvorlagen auflisten
GET /qr-assets/template/
GET
/
qr-assets
/
template
/
curl "https://api.scanova.io/qr-assets/template/" \
-H "Authorization: 401f7ac837da42b97f613d789819ff93537bee6a"
{
"count": 1,
"next": null,
"previous": null,
"results": [
{
"id": 12,
"name": "Summer Poster",
"template_id": "a1b2c3d4e5f6",
"template_type": "P",
"template_type_display": "Poster",
"pattern_info": "{\"dotStyle\":\"round\"}",
"image": "https://cdn.scanova.io/upload/images/42/template-foo.png"
}
]
}
Listet die eigenen gespeicherten QR-Designvorlagen des Kontos auf, auf dem Management-API-Host (
api.scanova.io), authentifiziert mit Ihrem rohen Management-API-Schlüssel.
GET https://api.scanova.io/qr-assets/template/
Authorization: 401f7ac837da42b97f613d789819ff93537bee6a
Erfordert die Plan-Quota
SAVE_DESIGN_TEMPLATE — siehe Übersicht über die Management API. template_type unterscheidet eine "P"-Vorlage (Poster) von einer "N"-Vorlage (Normal).curl "https://api.scanova.io/qr-assets/template/" \
-H "Authorization: 401f7ac837da42b97f613d789819ff93537bee6a"
{
"count": 1,
"next": null,
"previous": null,
"results": [
{
"id": 12,
"name": "Summer Poster",
"template_id": "a1b2c3d4e5f6",
"template_type": "P",
"template_type_display": "Poster",
"pattern_info": "{\"dotStyle\":\"round\"}",
"image": "https://cdn.scanova.io/upload/images/42/template-foo.png"
}
]
}
?template_type=P oder ?template_type=N filtert nach Typ. Sichtbarkeitsbereich: ausschließlich die eigenen Vorlagen des Kontos.
Verwandte Themen
- QR-Code-Designvorlage erstellen — eine neue speichern.
- QR-Code-Designvorlage aktualisieren — eine bestehende bearbeiten.
- QR-Code-Designvorlage löschen — eine entfernen.
- Übersicht über die Management API — das Authentifizierungsschema und die Quota-Regeln für diesen Endpunkt.
Autorisierungen
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.
Antwort
200 - application/json
Paginated list of templates.
War diese Seite hilfreich?