This documentation supports the 21.05 (12.2) version of BMC Discovery.To view an earlier version of the product, select the version from the Product version menu.

HTTPS access to the REST API


By default, access to the REST API is over HTTPS only and HTTP access is not permitted. An attempt to access any of the API endpoints (with the exception of /api/about and /api/version) over HTTP results in a 403 Forbidden error:

curl -i http://appliance/api/about

HTTP/1.1 403 Forbidden
{
   "message"   : "Access forbidden",
   "code"      : 403,
   "transient" : false
}

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*