Using app-services-sdk-js with redhat.local

TypeScript integration

✓ Official SDK
Install
npm install app-services-sdk-js
Quick start
import App_services_sdk_js from 'app-services-sdk-js';

const client = new App_services_sdk_js({ apiKey: "YOUR_API_KEY" });
Show me all my systems
curl \
  -H "x-rh-identity: $API_KEY" \
  http://redhat.local/api/patch/v1/systems
Show me all installed packages across my systems
curl \
  -H "x-rh-identity: $API_KEY" \
  http://redhat.local/api/patch/v1/packages/
Show me all applicable advisories for all my systems
curl \
  -H "x-rh-identity: $API_KEY" \
  http://redhat.local/api/patch/v1/advisories
SDK on GitHub 📄 API Docs
SDK
app-services-sdk-js
TypeScript
API
redhat.local
redhat.local:patchman-engine
At a glance
Language TypeScript
Endpoints21
Base URLhttp://redhat.local
✓ Official