Naar de inhoud
GET /v1/describe

Describe a mode

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/chmod-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "human": "Owner: read, write, execute; Group: read, execute; Others: none",
        "octal": "0750",
        "special": {
            "setgid": false,
            "setuid": false,
            "sticky": false
        },
        "symbolic": "rwxr-x---",
        "octal_short": "750",
        "permissions": {
            "group": {
                "read": true,
                "write": false,
                "execute": true
            },
            "owner": {
                "read": true,
                "write": true,
                "execute": true
            },
            "others": {
                "read": false,
                "write": false,
                "execute": false
            }
        }
    },
    "meta": {
        "timestamp": "2026-06-03T01:09:49.217Z",
        "request_id": "d13836b2-4dea-4dea-b875-a499e48524ff"
    },
    "status": "ok",
    "message": "Describe a mode",
    "success": true
}