Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Can I build nifi dataflow from scratch using the REST API

Can I build nifi dataflow from scratch using the REST API

I am building a system where I would like to allow users to write the sequence of operators/processors in text and the system programmatically build and run the corresponding nifi dataflow without using the drag and drop GUI. I looked at the REST API and it seems that I can use it to configure an existing dataflow, however I need to build the connections between processors from scratch for every user request. Is this capability provided by Nifi ?

2 REPLIES 2
Highlighted

Re: Can I build nifi dataflow from scratch using the REST API

@Tarek Elgamal

The rest api is capable of doing everything you can do via the UI.

Highlighted

Re: Can I build nifi dataflow from scratch using the REST API

Master Guru

@Tarek Elgamal

The easiest approach to learning the ins and outs of the rest-api is to use the developer tools in your browser to capture the rest-api calls being made as you manually perform similar actions via the NiFi UI. The developer tools in most browsers will even allow to save off those interactions as curl commands.

Don't have an account?
Coming from Hortonworks? Activate your account here