curl "https://api.scanova.io/theme/" \
-H "Authorization: 401f7ac837da42b97f613d789819ff93537bee6a"
[
{
"id": 7,
"name": "Ocean Breeze",
"slug": "user-42-ocean-breeze-a1b2c3",
"description": "A cool blue palette.",
"config_json": { "color": { "accent": "#0077be", "background": "#f0f8ff" }, "font": { "heading": "Inter" } },
"schema_version": 2,
"category_hints": ["website-url", "vcard"],
"thumbnail_url": "https://cdn.scanova.io/themes/7/thumb.png",
"is_system": false,
"is_premium": false,
"order": 0
}
]
Temas y plantillas de página
Listar temas
GET /theme/
GET
/
theme
/
curl "https://api.scanova.io/theme/" \
-H "Authorization: 401f7ac837da42b97f613d789819ff93537bee6a"
[
{
"id": 7,
"name": "Ocean Breeze",
"slug": "user-42-ocean-breeze-a1b2c3",
"description": "A cool blue palette.",
"config_json": { "color": { "accent": "#0077be", "background": "#f0f8ff" }, "font": { "heading": "Inter" } },
"schema_version": 2,
"category_hints": ["website-url", "vcard"],
"thumbnail_url": "https://cdn.scanova.io/themes/7/thumb.png",
"is_system": false,
"is_premium": false,
"order": 0
}
]
Enumera todos los temas activos, en el host de la API de gestión (
api.scanova.io), autenticado con su clave de API de gestión sin procesar.
GET https://api.scanova.io/theme/
Authorization: 401f7ac837da42b97f613d789819ff93537bee6a
Los temas son un recurso de lectura compartida para el creador de páginas — esto devuelve los temas del sistema más los propios temas de todas las cuentas, no solo los suyos. No paginado; la respuesta es un array simple. Los temas del sistema (
is_system: true) se ordenan primero, luego por order, luego por name.curl "https://api.scanova.io/theme/" \
-H "Authorization: 401f7ac837da42b97f613d789819ff93537bee6a"
[
{
"id": 7,
"name": "Ocean Breeze",
"slug": "user-42-ocean-breeze-a1b2c3",
"description": "A cool blue palette.",
"config_json": { "color": { "accent": "#0077be", "background": "#f0f8ff" }, "font": { "heading": "Inter" } },
"schema_version": 2,
"category_hints": ["website-url", "vcard"],
"thumbnail_url": "https://cdn.scanova.io/themes/7/thumb.png",
"is_system": false,
"is_premium": false,
"order": 0
}
]
config_json sigue el esquema ThemeConfigV2 (colores, fuentes y otros tokens de diseño); schema_version es null para temas heredados v1 y 2 para los actuales.
Relacionado
- Crear un tema — guardar uno nuevo.
- Obtener un tema — obtener uno por slug o id.
- Actualizar un tema — editar uno que le pertenece.
- Resumen de la API de gestión — el esquema de autenticación y las reglas de cuota aplicables a este endpoint.
Autorizaciones
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.
Respuesta
200 - application/json
Plain array of themes.
¿Esta página le ayudó?