Zum Inhalt springen
GET /v1/meta

Supported standards

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/jsondiff-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten 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
}