/v1/meta
Spec
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/semver-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/semver-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/semver-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/semver-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"name": "Semver API",
"notes": "Implements the SemVer 2.0.0 spec and npm-style ranges. Nothing is stored.",
"version": "v1",
"endpoints": [
{
"path": "/v1/parse",
"params": {
"version": "e.g. 1.2.3-beta.1 (required)"
},
"returns": "major, minor, patch, prerelease, build"
},
{
"path": "/v1/compare",
"params": {
"a": "required",
"b": "required"
},
"returns": "-1/0/1 and the relation (< = >)"
},
{
"path": "/v1/satisfies",
"params": {
"range": "e.g. ^1.0.0 (required)",
"version": "required"
},
"returns": "whether the version is in range"
},
{
"path": "/v1/inc",
"params": {
"release": "major|minor|patch|pre… (default patch)",
"version": "required",
"identifier": "for prereleases"
},
"returns": "the next version"
},
{
"path": "/v1/range",
"params": {
"range": "required",
"versions": "comma-separated list (required)"
},
"returns": "matching versions + max/min satisfying"
},
{
"path": "/v1/meta",
"params": [],
"returns": "this document"
}
],
"description": "A Semantic Versioning (SemVer) toolkit — parse a version into its parts, compare two versions, test whether a version satisfies a range (^1.2.3, >=2 <3, ~1.4), increment to the next major/minor/patch/prerelease, and filter a list of versions by a range. Powered by node-semver. Pure local, no key."
},
"meta": {
"timestamp": "2026-06-03T01:09:47.456Z",
"request_id": "bdc5f86a-3f4b-420a-86ce-98ade36b3c5b"
},
"status": "ok",
"message": "Meta",
"success": true
}