You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@nifi.apache.org by John Titus <jo...@trustedconcepts.com> on 2015/10/01 15:24:54 UTC

Rest API Endpoint?

Stupid question - what's the base endpoint of the NiFi rest api? For instance, if I have NiFi running at:

https://www.servercom/nifi

And I want to use the Rest API to get a list of templates, which is documented at:

https://nifi.apache.org/docs/nifi-docs/rest-api/index.html

as being:

GET /controller/templates

What would the full url be?






Re: Rest API Endpoint?

Posted by Matt Gilman <ma...@gmail.com>.
The base context path is listed at the top of the REST API docs. Though
this question has been asked a few times now so I've created a JIRA [1] to
make this more obvious going forward.

Thanks.

Matt

[1] https://issues.apache.org/jira/browse/NIFI-1017

On Thu, Oct 1, 2015 at 9:28 AM, Devin Pinkston <pi...@gmail.com>
wrote:

> http://localhost:8080/nifi-api/controller/templates
>
> That took me a while to figure out too, should update the REST API docs
> with that.
>
> So yours would be https://www.servercom <https://www.servercom/nifi>
> :8080/nifi-api/controller/templates
>
> Thanks - Devin
>
> On Thu, Oct 1, 2015 at 9:24 AM, John Titus <john.titus@trustedconcepts.com
> > wrote:
>
>> Stupid question - what's the base endpoint of the NiFi rest api? For
>> instance, if I have NiFi running at:
>>
>> https://www.servercom/nifi
>>
>> And I want to use the Rest API to get a list of templates, which is
>> documented at:
>>
>> https://nifi.apache.org/docs/nifi-docs/rest-api/index.html
>>
>> as being:
>>
>> GET /controller/templates
>>
>> What would the full url be?
>>
>>
>>
>>
>>
>>
>

Re: Rest API Endpoint?

Posted by Devin Pinkston <pi...@gmail.com>.
http://localhost:8080/nifi-api/controller/templates

That took me a while to figure out too, should update the REST API docs
with that.

So yours would be https://www.servercom <https://www.servercom/nifi>
:8080/nifi-api/controller/templates

Thanks - Devin

On Thu, Oct 1, 2015 at 9:24 AM, John Titus <jo...@trustedconcepts.com>
wrote:

> Stupid question - what's the base endpoint of the NiFi rest api? For
> instance, if I have NiFi running at:
>
> https://www.servercom/nifi
>
> And I want to use the Rest API to get a list of templates, which is
> documented at:
>
> https://nifi.apache.org/docs/nifi-docs/rest-api/index.html
>
> as being:
>
> GET /controller/templates
>
> What would the full url be?
>
>
>
>
>
>