{{getMsg('Help_YouAreHere')}}:
/
{{page.title}}
{{page.title}}
{{$root.getMsg("downLoadHelpAsPdf")}}
{{helpModel.downloadHelpPdfDataStatus}}
Licenses
The Licenses defined in the configuration can be listed with this handler. The response is a map of key-value, with the key being used in the assets to reference the given entry.
You can check the details of each license entry using the /<license id> handler.
GET /api/inventory/license
Get a list of License information in the form of a list of property entries.
Example Request
# Request GET /api/inventory/license HTTP/1.1 Authorization: Bearer VGhpcyBpcyBqdXN0IGEgZGVtbyBhY2Nlc3MgdG9rZW4u # Response HTTP/1.1 200 OK Content-Type: application/json { "0": "", "1": "Office 2007 Professional" }
Application Example
# Browser access http://127.0.0.1:9000/api/inventory/license # Shell access using curl curl -LsH "Authorization: Bearer <access_token>" "http://127.0.0.1:9000/api/inventory/license" # Shell access using curl using username and password curl -Lsu username:password "http://127.0.0.1:9000/api/inventory/license"
