Μετάβαση στο περιεχόμενο
GET /v1/meta

Spec

Δοκιμάστε το ζωντανά

10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.

Προσαρμοσμένες κεφαλίδες (προαιρετικά)
api.oanor.com/msgpack-api

Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.

Λάβετε ένα κλειδί API

Αποσπάσματα κώδικα

curl "https://api.oanor.com/msgpack-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/msgpack-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/msgpack-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/msgpack-api/v1/meta",
    headers={"x-oanor-key": "oanor_test_..."}
)

Παράδειγμα απόκρισης

Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.

{
    "data": {
        "name": "MessagePack API",
        "notes": "Integers use the smallest fitting width; 64-bit integers beyond 2^53 decode to a decimal string to avoid precision loss. Map keys are kept in order. bin -> {_bytes_hex}, ext -> {_ext:{type,hex}} round-trip exactly. Nothing is stored.",
        "version": "v1",
        "endpoints": [
            {
                "path": "/v1/encode",
                "params": {
                    "json": "a JSON value to encode (string)"
                },
                "returns": "the MessagePack bytes as hex and base64, with byte length"
            },
            {
                "path": "/v1/decode",
                "params": {
                    "hex": "the MessagePack bytes as hex",
                    "base64": "or as base64"
                },
                "returns": "the decoded JSON value"
            },
            {
                "path": "/v1/meta",
                "params": [],
                "returns": "this document"
            }
        ],
        "description": "Encode and decode MessagePack — the compact binary serialization format (\"it's like JSON, but fast and small\") used by Redis, Fluentd, many RPC systems and IoT protocols. The encode endpoint turns a JSON value into MessagePack bytes, automatically choosing the smallest representation for each integer, string, array and map; the decode endpoint parses MessagePack back into a JSON value. It implements the full spec — nil, booleans, every fixed and variable integer width, float32/64, str/bin, arrays and maps, and the ext family — and rejects trailing or truncated data. Binary (bin) values and non-UTF-8 strings come back losslessly as a {\"_bytes_hex\":\"…\"} object, and ext values as {\"_ext\":{\"type\":N,\"hex\":\"…\"}}, so encode/decode round-trip exactly. Bytes are exchanged as hex and base64. Everything is computed locally and deterministically, so it is instant and private. Ideal for debugging MessagePack payloads, bridging JSON and msgpack systems, RPC and cache tooling, and teaching the format. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This is MessagePack specifically; for JSON/YAML/TOML/XML use those format APIs, for BitTorrent's Bencode use the Bencode API, and for base64/hex/URL encoding use a general encoding API."
    },
    "meta": {
        "timestamp": "2026-06-03T17:42:17.727Z",
        "request_id": "095590f2-db5a-4f63-9c6b-188fd1509d20"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}