GET Salt
This API can show the following four fields from the current configuration of salt minion: master, master_type, retry_dns, and retry_dns_count.
Note that this API is only aware of these specific fields and will not recognize any additional fields in the /etc/salt/minion.d/master.conf file. Starting from version 8.18, any configuration details added directly to this file will not be recognized by the API.
Gets the current salt configuration.
{
"master": [
"salt-master-1.licf.vmware.com",
"salt-master-2.licf.vmware.com"
],
"masterType": "str",
"retryDns": 10,
"retryDnsCount": 3
}
Internal error while processing the client request
{
"errorMessage": "Failed to process request."
}
A message describing the error.
A code representing the type of error.
Dynamic error details, where the field name can vary depending on the request field and error code.
curl -H 'Authorization: <value>' https://{api_host}/api/v2/salt