/v1/meta
Spec
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/glob-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/glob-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/glob-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/glob-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"name": "Glob API",
"notes": "** crosses path separators; * does not. Use matchBase=true to match a bare *.js against any depth. Nothing is stored.",
"version": "v1",
"endpoints": [
{
"path": "/v1/match",
"params": {
"dot": "bool (match leading dot)",
"path": "the path (required)",
"nocase": "bool",
"pattern": "glob pattern (required)",
"matchBase": "bool (match basename)"
},
"returns": "whether the path matches"
},
{
"path": "/v1/filter",
"params": {
"paths": "comma/newline list or JSON array (required)",
"pattern": "glob (required)",
"nocase/dot/matchBase": "options"
},
"returns": "the subset of paths that match"
},
{
"path": "/v1/meta",
"params": [],
"returns": "this document"
}
],
"description": "Match file paths against glob patterns the way .gitignore, CI path filters and shells do — *, **, ?, [..] character classes, {a,b} brace expansion and extglobs — powered by minimatch. Test one path or filter a list. Pure local, no key."
},
"meta": {
"timestamp": "2026-06-03T01:09:46.927Z",
"request_id": "8e4633b4-679d-4acf-8a5c-fc8d390938c2"
},
"status": "ok",
"message": "Meta",
"success": true
}