Cloudera Data Platform - Using Apache NiFi REST API in the Public Cloud
You can grab the end points from the Data Hub End Points tab.
Example NiFi REST API Calls To CDP CDF Public Cloud NiFI Datahub
These type of REST calls will prompt you for your username/password.
Here are some examples:
https://ace-ww-workshop-nifikafka-master0.ace-aw-w.ylcu-atmi.cloudera.site/ace-ww-workshop-nifikafka/cdp-proxy-api/nifi-app/nifi-api/site-to-site
https://ace-ww-workshop-nifikafka-master0.ace-aw-w.ylcu-atmi.cloudera.site/ace-ww-workshop-nifikafka/cdp-proxy-api/nifi-app/nifi-api/resources
https://ace-ww-workshop-nifikafka-master0.ace-aw-w.ylcu-atmi.cloudera.site/ace-ww-workshop-nifikafka/cdp-proxy-api/nifi-app/nifi-api/tenants/users
https://ace-ww-workshop-nifikafka-master0.ace-aw-w.ylcu-atmi.cloudera.site/ace-ww-workshop-nifikafka/cdp-proxy-api/nifi-app/nifi-api/flow/status
https://ace-ww-workshop-nifikafka-master0.ace-aw-w.ylcu-atmi.cloudera.site/ace-ww-workshop-nifikafka/cdp-proxy-api/nifi-app/nifi-api/flow/process-groups/root/controller-services
https://ace-ww-workshop-nifikafka-master0.ace-aw-w.ylcu-atmi.cloudera.site/ace-ww-workshop-nifikafka/cdp-proxy-api/nifi-app/nifi-api/flow/process-groups/root/status
https://ace-ww-workshop-nifikafka-master0.ace-aw-w.ylcu-atmi.cloudera.site/ace-ww-workshop-nifikafka/cdp-proxy-api/nifi-app/nifi-api/flow/process-groups/root
How to Connect With NiFi CLI
References:
- https://nifi.apache.org/docs/nifi-docs/rest-api/index.html
- https://docs.cloudera.com/cdf-datahub/7.2.1/nifi-security/topics/cdf-datahub-nifi-security-predefined-nifiregistry-policies.html
- https://www.datainmotion.dev/2020/07/report-on-this-apache-nifi-1114-monitor.html
- https://www.datainmotion.dev/2019/04/monitoring-number-of-of-flow-files.html