Aller au contenu
GET /v1/meta

Spec

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/schemamock-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

curl "https://api.oanor.com/schemamock-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/schemamock-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/schemamock-api/v1/meta");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/schemamock-api/v1/meta",
    headers={"x-oanor-key": "oanor_test_..."}
)

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

{
    "data": {
        "auth": "none upstream; this gateway requires x-api-key",
        "name": "Schema Mock API",
        "note": "Generate realistic mock data that conforms to a JSON Schema. POST or pass ?schema= a JSON Schema (Draft-07 style) and optional ?count=1..100 for an array. Honours type, format (email, uuid, date-time, uri, ...), min/max, enum, required, nested objects/arrays. Use a \"faker\" keyword (e.g. \"faker\":\"person.fullName\") for specific realistic values. Distinct from JSON Schema validation and fixed-entity mock data. Instant, nothing stored.",
        "source": "Local generation (json-schema-faker + faker) — no key, no upstream",
        "endpoints": 2
    },
    "meta": {
        "timestamp": "2026-06-02T16:51:57.717Z",
        "request_id": "f14a3058-2cac-46a7-a7e8-e976352b6377"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}