/v1/meta
Spec
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/sort-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/sort-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/sort-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/sort-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"name": "Sort API",
"notes": "Natural sort uses the platform's Unicode collator with numeric ordering. Items missing the sort key are placed last. Nothing is stored.",
"version": "v1",
"endpoints": [
{
"path": "/v1/sort",
"params": {
"list": "JSON array or comma/newline list (required)",
"mode": "natural|alphabetical|numeric|length (default natural)",
"order": "asc|desc",
"case_insensitive": "true/false"
},
"returns": "the sorted list"
},
{
"path": "/v1/sort-objects",
"params": {
"key": "property to sort by (required)",
"json": "array of objects (required)",
"mode": "default natural",
"order": "asc|desc"
},
"returns": "the sorted array of objects"
},
{
"path": "/v1/meta",
"params": [],
"returns": "this document"
}
],
"description": "Sort a list — or an array of objects by a key — using natural (alphanumeric, so file2 comes before file10), alphabetical, numeric or by-length ordering, ascending or descending, with an optional case-insensitive mode. Pure local, no key."
},
"meta": {
"timestamp": "2026-06-03T01:09:39.639Z",
"request_id": "f6d3d2fc-8080-4040-8345-108239b2b882"
},
"status": "ok",
"message": "Meta",
"success": true
}