/v1/meta
Spec
Δοκιμάστε το ζωντανά
10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.
Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.
Λάβετε ένα κλειδί APIΑποσπάσματα κώδικα
curl "https://api.oanor.com/chmod-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/chmod-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/chmod-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/chmod-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Παράδειγμα απόκρισης
Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.
{
"data": {
"name": "chmod API",
"notes": "A 4-digit octal sets special bits: 4=setuid, 2=setgid, 1=sticky (e.g. 4755 = rwsr-xr-x, 1777 = rwxrwxrwt).",
"version": "v1",
"endpoints": [
{
"path": "/v1/to-octal",
"params": {
"symbolic": "e.g. rwxr-xr-x (required)"
},
"returns": "the octal mode"
},
{
"path": "/v1/to-symbolic",
"params": {
"octal": "e.g. 755 or 4755 (required)"
},
"returns": "the symbolic mode"
},
{
"path": "/v1/describe",
"params": {
"mode": "octal or symbolic (or use octal=/symbolic=)"
},
"returns": "octal, symbolic, per-class flags, special bits, plain-English"
},
{
"path": "/v1/meta",
"params": [],
"returns": "this document"
}
],
"description": "Unix file-permission calculator — convert between symbolic (rwxr-xr-x) and octal (755) modes, including setuid, setgid and the sticky bit, and explain a mode in plain words. Pure local, no key."
},
"meta": {
"timestamp": "2026-06-03T01:09:49.508Z",
"request_id": "2feb11d1-f4bb-4a40-9457-0844dcaf5e28"
},
"status": "ok",
"message": "Meta",
"success": true
}