Zum Inhalt springen
GET /v1/meta

Totals & categories

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/gitignore-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "note": "Ready-to-use .gitignore templates for languages, frameworks, tools and editors. /v1/template returns one template's content; /v1/list lists/searches them; /v1/combine merges several (e.g. names=Node,Python,macOS) into a single .gitignore. Categories: root (languages/frameworks), global (editors/OS), community (more specific stacks).",
        "total": 309,
        "source": "github/gitignore (CC0)",
        "by_category": {
            "root": 163,
            "global": 75,
            "community": 71
        }
    },
    "meta": {
        "timestamp": "2026-05-31T09:57:28.480Z",
        "request_id": "e416fffc-a39b-48ba-aca1-33bc81054e99"
    },
    "status": "ok",
    "message": "Meta retrieved",
    "success": true
}