/v1/meta
Spec
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/jsonmerge-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/jsonmerge-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/jsonmerge-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/jsonmerge-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"name": "JSON Merge API",
"notes": "Send objects as JSON (POST body recommended). Nested objects merge recursively; arrays follow the chosen strategy. This merges documents — to diff or patch them (RFC 6902) use a JSON-diff API, and to flatten or address values use flatten / JSON-Pointer APIs. Nothing is stored.",
"version": "v1",
"endpoints": [
{
"path": "/v1/merge",
"params": {
"a": "the base object (JSON)",
"b": "the overriding object (JSON)",
"objects": "alternatively, a JSON array of objects merged left-to-right",
"null_strategy": "overwrite (default) or ignore",
"array_strategy": "replace (default), concat, union or merge_index"
},
"returns": "the deep-merged object"
},
{
"path": "/v1/defaults",
"params": {
"data": "your object (JSON) — its values win",
"defaults": "the defaults to fill missing keys from (JSON)",
"array_strategy": "as merge"
},
"returns": "data with missing keys filled from defaults"
},
{
"path": "/v1/meta",
"params": [],
"returns": "this document"
}
],
"description": "Deep-merge JSON objects. The merge endpoint recursively merges two objects (the second overrides the first) — or a whole list of objects left-to-right — combining nested objects key by key, with a choice of array strategy: replace (default), concat, union (concat and de-duplicate) or merge_index (merge element by element). A null in the overriding object can overwrite or be ignored. The defaults endpoint is the inverse: it fills in only the keys your data is missing from a defaults object, so existing values always win — exactly what you want for layering user settings over default configuration. Pure local, no key."
},
"meta": {
"timestamp": "2026-06-03T17:42:22.312Z",
"request_id": "05360ee3-97d7-4a4c-b401-64d364337657"
},
"status": "ok",
"message": "Meta",
"success": true
}