Naar de inhoud
GET /v1/meta

Supported standards

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/jsondiff-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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_..."}
)

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "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
}