/v1/meta
Spec
Δοκιμάστε το ζωντανά
10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.
Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.
Λάβετε ένα κλειδί APIΑποσπάσματα κώδικα
curl "https://api.oanor.com/wordwrap-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/wordwrap-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/wordwrap-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/wordwrap-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Παράδειγμα απόκρισης
Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.
{
"data": {
"name": "Word Wrap API",
"notes": "Paragraphs are separated by blank lines and preserved. Words longer than the width overflow unless break_long_words is true. Nothing is stored.",
"version": "v1",
"endpoints": [
{
"path": "/v1/wrap",
"params": {
"text": "the text (required)",
"width": "columns (default 80)",
"indent": "leading spaces (default 0)",
"break_long_words": "true/false (default false)"
},
"returns": "the wrapped text"
},
{
"path": "/v1/unwrap",
"params": {
"text": "wrapped text (required)"
},
"returns": "paragraphs joined back into single lines"
},
{
"path": "/v1/meta",
"params": [],
"returns": "this document"
}
],
"description": "Reflow plain text to a fixed column width on word boundaries (preserving paragraphs), with optional indentation and long-word breaking — and unwrap text back into single-line paragraphs. Pure local, no key."
},
"meta": {
"timestamp": "2026-06-03T01:09:41.901Z",
"request_id": "d321a8e7-59a2-4399-9511-fb3476c019a8"
},
"status": "ok",
"message": "Meta",
"success": true
}