Les capacités de votre clé en un seul appel: fonctionnalités activées, formats/résolutions/rapports/vues/couleurs/marques autorisés, restrictions, et informations de livraison (hôte CDN + durée de vie de l'URL signée).
Demande
curl "https://api.vehicleimagery.com/api/me" \
-H "x-api-key: YOUR_API_KEY" 200 · Capacités clés.
{
"features": {
"shadow": true,
"transparency": true,
"mirroring": true,
"grounding": true,
"getall": true,
"debug": false,
"fallbacks": true,
"watermark_forced": false
},
"allowed": {
"formats": [
"*"
],
"resolutions": [
"*"
],
"ratios": [
"*"
],
"views": [
"*"
],
"colors": [
"*"
],
"brands": [
"*"
]
},
"restrictions": {
"blocked_brands": [],
"year_range": null,
"test_mode": false
},
"delivery": {
"cdn": "cdn.vehicleimagery.com",
"signed_url_ttl_seconds": 604800
}
} 401 · Clé `x-api-key` manquante ou invalide.
{
"error": "Invalid API key"
} 403 · Restriction de plan (fonctionnalité, format ou marque non autorisés) ou demande bloquée.
{
"error": "Mirroring is not allowed by your plan."
} 404 · Aucune donnée pour le chemin demandé.
{
"error": "Brand 'Xyz' not found — check /api/brands for valid brands."
}