ConfD 6.6.1 supports
<rest> under confd.conf file.
<confdConfig xmlns="http://tail-f.com/ns/confd_cfg/1.0"> ... <rest> <enabled>true</enabled> </rest>
Along with this, by enabling below, we were able to query the CDB using the below REST calls,
<webui> <enabled>true</enabled> <docroot>../confd/var/confd/webui/dist/confd</docroot> <transport> <tcp> <enabled>true</enabled> <ip>0.0.0.0</ip> <port>8008</port> </tcp>
curl -u admin:admin -X GET "http://localhost:8008/api/running/?deep"
<confdConfig> is not supported in ConfD 8.0.4 and facing the below issue,
confd: - Bad configuration: /etc/confd.conf:284: rest cannot occur here as a child to confdConfig.
Is there any equivalent available in ConfD 8.0.4 to enable REST and query CDB?
Is RestConf also used to query CDB config data? If so, can someone provide the endpoint to query?