redhat.local

API of the Patch application on cloud.redhat.com Syntax of the filter[name] query parameters is described in Filters documentation

🔑 apikey 21 endpoints developer_tools
📄 Docs 📋 OpenAPI spec 🔬 Try in Swagger UI

SDKs by language (7 total)

pip install app-services-sdk-python
app-services-sdk-js ✓ Official
npm install app-services-sdk-js
app-services-sdk-go ✓ Official
go get github.com/redhat-developer/app-services-sdk-go
helm2go-operator-sdk ✓ Official
go get github.com/redhat-nfvpe/helm2go-operator-sdk
operators-sdk-tutorial ✓ Official
go get github.com/redhat-scholars/operators-sdk-tutorial
cert-operator ✓ Official
go get github.com/redhat-cop/cert-operator
app-services-sdk-java ✓ Official
# Maven: see https://github.com/redhat-developer/app-services-sdk-java
curl examples
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
Endpoints (21 total)
GET
/api/patch/v1/systems
Show me all my systems
GET
/api/patch/v1/packages/
Show me all installed packages across my systems
GET
/api/patch/v1/advisories
Show me all applicable advisories for all my systems
GET
/api/patch/v1/export/systems
Export systems for my account
GET
/api/patch/v1/export/packages
Show me all installed packages across my systems
GET
/api/patch/v1/export/advisories
Export applicable advisories for all my systems
GET
/api/patch/v1/systems/{inventory_id}
Show me details about a system by given inventory id
GET
/api/patch/v1/packages/{package_name}
Show me metadata of selected package
GET
/api/patch/v1/advisories/{advisory_id}
Show me details an advisory by given advisory name
GET
/api/patch/v1/packages/{package_name}/systems
Show me all my systems which have a package installed
GET
/api/patch/v1/systems/{inventory_id}/packages
Show me details about a system packages by given inventory id
GET
/api/patch/v1/advisories/{advisory_id}/systems
Show me systems on which the given advisory is applicable
At a glance
Total SDKs7
Languages4
Endpoints21
Authapikey
Categories1
http://redhat.local
Other Redhat APIs (1)
catalog_inventory