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

Spec

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

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

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

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

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

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

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

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

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

{
    "data": {
        "notes": "Control points as x0,y0,x1,y1,x2,y2 (quadratic) plus x3,y3 (cubic). Parameter t in [0,1]. 2D curves.",
        "service": "bezier-api",
        "formulae": {
            "cubic": "B(t) = (1−t)³P₀ + 3(1−t)²t·P₁ + 3(1−t)t²·P₂ + t³P₃",
            "quadratic": "B(t) = (1−t)²P₀ + 2(1−t)t·P₁ + t²P₂",
            "derivative_cubic": "B'(t) = 3(1−t)²(P₁−P₀) + 6(1−t)t(P₂−P₁) + 3t²(P₃−P₂)"
        },
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/point": "Point (x,y) and tangent on the curve at parameter t (de Casteljau).",
            "GET /v1/split": "Split the curve at t into two sub-curves' control points.",
            "GET /v1/length": "Arc length and axis-aligned bounding box of the curve."
        },
        "description": "Bézier-curve geometry calculator: evaluate a point and tangent at a parameter, the arc length and bounding box, and split a quadratic or cubic curve at a parameter."
    },
    "meta": {
        "timestamp": "2026-06-04T18:38:03.686Z",
        "request_id": "cc5170b7-0dee-4311-8d99-cc8f2f95a5da"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}