Todo código não fatal que o endpoint de imagem pode colocar em errornotes, com seu significado em inglês. Inclui os códigos do adicionar API v2 (G23, M24, L26, W28, N29, N30, O31, B32).
Solicitar
curl "https://api.vehicleimagery.com/api/errornotes" \
-H "x-api-key: YOUR_API_KEY" 200 · Códigos.
{
"errornotes": {
"Y01": "Requested year is not available — used the nearest available generation.",
"S05": "Shadow is not available for this car or not allowed by your plan — delivered without shadow.",
"M20": "Mirroring needs a transparent variant which is missing for this car — mirroring skipped.",
"L26": "Lights are not available for this image — delivered with lights off.",
"W28": "Dark windows are not available for this image — delivered see-through."
}
} 401 · `x-api-key` ausente ou inválida.
{
"error": "Invalid API key"
} 403 · Restrição de plano (recurso, formato ou marca não permitido) ou solicitação bloqueada.
{
"error": "Mirroring is not allowed by your plan."
} 404 · Nenhum dado para o caminho solicitado.
{
"error": "Brand 'Xyz' not found — check /api/brands for valid brands."
}