/v1/dependencies
Resolved transitive dependency graph
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/depsdev-api/v1/dependencies" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/depsdev-api/v1/dependencies", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/depsdev-api/v1/dependencies");
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/depsdev-api/v1/dependencies",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"name": "express",
"direct": [
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]"
],
"system": "npm",
"version": "4.18.2",
"dependencies": [
{
"name": "accepts",
"errors": [],
"version": "1.3.8",
"relation": "direct"
},
{
"name": "array-flatten",
"errors": [],
"version": "1.1.1",
"relation": "direct"
},
{
"name": "async-function",
"errors": [],
"version": "1.0.0",
"relation": "indirect"
},
{
"name": "async-generator-function",
"errors": [],
"version": "1.0.0",
"relation": "indirect"
},
{
"name": "body-parser",
"errors": [],
"version": "1.20.1",
"relation": "direct"
},
{
"name": "bytes",
"errors": [],
"version": "3.1.2",
"relation": "indirect"
},
{
"name": "call-bind-apply-helpers",
"errors": [],
"version": "1.0.2",
"relation": "indirect"
},
{
"name": "call-bound",
"errors": [],
"version": "1.0.4",
"relation": "indirect"
},
{
"name": "content-disposition",
"errors": [],
"version": "0.5.4",
"relation": "direct"
},
{
"name": "content-type",
"errors": [],
"version": "1.0.5",
"relation": "direct"
},
{
"name": "cookie",
"errors": [],
"version": "0.5.0",
…