/v1/meta
Spec
Δοκιμάστε το ζωντανά
10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.
Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.
Λάβετε ένα κλειδί APIΑποσπάσματα κώδικα
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_..."}
)
Παράδειγμα απόκρισης
Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.
{
"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
}