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 <pinkdevel...@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.ti...@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?
>>
>>
>>
>>
>>
>>
>

Reply via email to