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.

nifi rest api search url

Solved Go to solution

nifi rest api search url

Expert Contributor

Hi,

I was trying the search api - however wondering how is the URL should look like?

http://localhost:8080/nifi-api//flow/search-results?q=af03ee28-0158-1000-30f0-0fb256157812

I tried a couple of options but doesn't work.

I am trying a way to look up the id of a processgroup and then start/stop it.

Thanks,

Avijeet

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: nifi rest api search url

Contributor

What is the behavior your currently seeing?

The endpoint your invoking looks correct. However, it appears there may be an extra forward slash after nifi-api.

Matt

2 REPLIES 2
Highlighted

Re: nifi rest api search url

Contributor

What is the behavior your currently seeing?

The endpoint your invoking looks correct. However, it appears there may be an extra forward slash after nifi-api.

Matt

Re: nifi rest api search url

Expert Contributor

Thanks @mgilman - it works, Thanks for pointing the error in url.

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