You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@nifi.apache.org by "Piper, Nicholas C" <ni...@cgi.com> on 2016/11/22 14:28:44 UTC

How to determine NiFi version number from NiFi API call

Hi,

I'm looking through the API https://nifi.apache.org/docs/nifi-docs/rest-api/ to see how to query the NiFi version number (or API version number.) I'd like to do this to check that an upgrade worked, and that NiFi is the version I expect.

I hoped maybe /system-diagnostics, or /controller/config , but those do not contain this information.

Is anyone able to point me at the right place?

Many thanks,

 Nick

--
CGI IT UK Limited. A CGI Group Inc. Company
Registered Office 250 Brook Drive, Green Park, Reading RG2 6UA, United Kingdom. Registered in England & Wales - Number 947968




RE: How to determine NiFi version number from NiFi API call

Posted by "Piper, Nick" <ni...@cgi.com>.
Thanks Matt, that's great - I've started to use /flow/about.

--
Nick Piper
________________________________
From: Matt Gilman [matt.c.gilman@gmail.com]
Sent: 22 November 2016 5:22 PM
To: users@nifi.apache.org
Subject: Re: How to determine NiFi version number from NiFi API call

Nick,

In 1.0.0, you can get the NiFi version from /flow/about. In the upcoming 1.1.0 release, build details are included in this endpoint as well. Also in 1.1.0, the /system-diagnostics endpoint will include additional Host/JVM details.

Thanks.

Matt

On Tue, Nov 22, 2016 at 9:30 AM, Joe Witt <jo...@gmail.com>> wrote:
Nick,

The upcoming release of NiFi has a cool new diagnostics feature which
lists these sort of details.

Thanks
Joe

On Tue, Nov 22, 2016 at 9:28 AM, Piper, Nicholas C <ni...@cgi.com>> wrote:
> Hi,
>
> I'm looking through the API https://nifi.apache.org/docs/nifi-docs/rest-api/ to see how to query the NiFi version number (or API version number.) I'd like to do this to check that an upgrade worked, and that NiFi is the version I expect.
>
> I hoped maybe /system-diagnostics, or /controller/config , but those do not contain this information.
>
> Is anyone able to point me at the right place?
>
> Many thanks,
>
>  Nick
>
> --
> CGI IT UK Limited. A CGI Group Inc. Company
> Registered Office 250 Brook Drive, Green Park, Reading RG2 6UA, United Kingdom. Registered in England & Wales - Number 947968
>
>
>


Re: How to determine NiFi version number from NiFi API call

Posted by Matt Gilman <ma...@gmail.com>.
Nick,

In 1.0.0, you can get the NiFi version from /flow/about. In the upcoming
1.1.0 release, build details are included in this endpoint as well. Also in
1.1.0, the /system-diagnostics endpoint will include additional Host/JVM
details.

Thanks.

Matt

On Tue, Nov 22, 2016 at 9:30 AM, Joe Witt <jo...@gmail.com> wrote:

> Nick,
>
> The upcoming release of NiFi has a cool new diagnostics feature which
> lists these sort of details.
>
> Thanks
> Joe
>
> On Tue, Nov 22, 2016 at 9:28 AM, Piper, Nicholas C <ni...@cgi.com>
> wrote:
> > Hi,
> >
> > I'm looking through the API https://nifi.apache.org/docs/
> nifi-docs/rest-api/ to see how to query the NiFi version number (or API
> version number.) I'd like to do this to check that an upgrade worked, and
> that NiFi is the version I expect.
> >
> > I hoped maybe /system-diagnostics, or /controller/config , but those do
> not contain this information.
> >
> > Is anyone able to point me at the right place?
> >
> > Many thanks,
> >
> >  Nick
> >
> > --
> > CGI IT UK Limited. A CGI Group Inc. Company
> > Registered Office 250 Brook Drive, Green Park, Reading RG2 6UA, United
> Kingdom. Registered in England & Wales - Number 947968
> >
> >
> >
>

Re: How to determine NiFi version number from NiFi API call

Posted by Joe Witt <jo...@gmail.com>.
Nick,

The upcoming release of NiFi has a cool new diagnostics feature which
lists these sort of details.

Thanks
Joe

On Tue, Nov 22, 2016 at 9:28 AM, Piper, Nicholas C <ni...@cgi.com> wrote:
> Hi,
>
> I'm looking through the API https://nifi.apache.org/docs/nifi-docs/rest-api/ to see how to query the NiFi version number (or API version number.) I'd like to do this to check that an upgrade worked, and that NiFi is the version I expect.
>
> I hoped maybe /system-diagnostics, or /controller/config , but those do not contain this information.
>
> Is anyone able to point me at the right place?
>
> Many thanks,
>
>  Nick
>
> --
> CGI IT UK Limited. A CGI Group Inc. Company
> Registered Office 250 Brook Drive, Green Park, Reading RG2 6UA, United Kingdom. Registered in England & Wales - Number 947968
>
>
>