Aller au contenu
GET /v1/meta

Supported standards

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/jsondiff-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/jsondiff-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/jsondiff-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/jsondiff-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/jsondiff-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": {
        "note": "Compare and patch JSON documents. /v1/diff takes two documents (a and b — inline via ?a=&b= or as a JSON body {\"a\":…,\"b\":…}) and returns whether they are equal, an RFC 6902 JSON Patch (the add/remove/replace operations that turn a into b), a change summary and an RFC 7386 JSON Merge Patch. /v1/patch applies a patch to a document: supply {\"doc\":…,\"patch\":[…]} for an RFC 6902 patch (add/remove/replace/move/copy/test with JSON-Pointer paths) or {\"doc\":…,\"merge_patch\":…} for an RFC 7386 merge patch, and get the resulting document. Everything is computed locally with no network calls. Ideal for config and state management, API change detection, audit trails, optimistic-concurrency checks and data-sync pipelines. A JSON diff/patch engine — distinct from text diffing (textdiff), JSONPath querying (jsonpath), JSON validation/pretty-printing (json) and JSON-Schema validation (jsonschema). No key, no cache.",
        "endpoints": [
            "/v1/diff",
            "/v1/patch",
            "/v1/meta"
        ],
        "standards": [
            "RFC 6902 (JSON Patch)",
            "RFC 7386 (JSON Merge Patch)",
            "RFC 6901 (JSON Pointer)"
        ]
    },
    "meta": {
        "timestamp": "2026-06-01T23:40:48.056Z",
        "request_id": "1129011e-0529-492a-9469-10432adea356"
    },
    "status": "ok",
    "message": "Meta retrieved",
    "success": true
}