<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: NiFi - REST-API - searching for information about versioned processgroups in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/NiFi-REST-API-searching-for-information-about-versioned/m-p/304421#M222027</link>
    <description>&lt;P&gt;Thanks for your help &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/60285"&gt;@ashinde&lt;/a&gt;&amp;nbsp;!&lt;BR /&gt;I see I was looking at the wrong section of rest-api.&lt;/P&gt;&lt;P&gt;OK I have to go on nifi rest-api section &lt;STRONG&gt;flow/history&lt;/STRONG&gt;.&lt;BR /&gt;I will have a look on the nifi.properties but because my report is running every night I suppose the purging doesn't matter.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Second option you mentioned concerning when a flow was brought to registry doesn't interest... at the moment.&lt;/P&gt;</description>
    <pubDate>Thu, 15 Oct 2020 11:20:22 GMT</pubDate>
    <dc:creator>justenji</dc:creator>
    <dc:date>2020-10-15T11:20:22Z</dc:date>
    <item>
      <title>NiFi - REST-API - searching for information about versioned processgroups</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-REST-API-searching-for-information-about-versioned/m-p/302295#M221057</link>
      <description>&lt;P&gt;Hi all, I want to build a flow which brings up information about &lt;STRONG&gt;all versioned processgroup on this system&lt;/STRONG&gt;. What I need is:&lt;BR /&gt;- &lt;STRONG&gt;name&lt;/STRONG&gt; of each processgroup&lt;BR /&gt;- &lt;STRONG&gt;version&lt;/STRONG&gt; of each processgroup&lt;BR /&gt;- &lt;STRONG&gt;timestamp&lt;/STRONG&gt; when this version was brought to this system&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I tested with NiFi-REST-API but I can not find the right request to do this.&lt;BR /&gt;Could someone help me to get this works?&lt;BR /&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Sep 2020 06:34:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-REST-API-searching-for-information-about-versioned/m-p/302295#M221057</guid>
      <dc:creator>justenji</dc:creator>
      <dc:date>2020-09-03T06:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi - REST-API - searching for information about versioned processgroups</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-REST-API-searching-for-information-about-versioned/m-p/304237#M221943</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/67599"&gt;@justenji&lt;/a&gt;&amp;nbsp; It is not possible yet to get all info in one NiFi API call as you desired but you can try below call to get the versioning info about particular process group&lt;/P&gt;&lt;P&gt;curl -v -X GET "https://$HOSTNAME:9091/nifi-api/versions/process-groups/{id}" -H "Authorization: Bearer $TOKEN" -H "Connection: close" -k&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Br,&lt;/P&gt;&lt;P&gt;Akash&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2020 16:57:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-REST-API-searching-for-information-about-versioned/m-p/304237#M221943</guid>
      <dc:creator>ashinde</dc:creator>
      <dc:date>2020-10-12T16:57:16Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi - REST-API - searching for information about versioned processgroups</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-REST-API-searching-for-information-about-versioned/m-p/304336#M221988</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/60285"&gt;@ashinde&lt;/a&gt;&amp;nbsp;&amp;nbsp; Thanks for this information.&lt;BR /&gt;Tested the command with InvokeHTTP from NiFi itselfe.&lt;BR /&gt;So I would have to deliver a list of Processgroup-IDs to check with this request...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At the moment I try getting information with&lt;BR /&gt;https://${hostname(true)}:${NIFI_PORT}/&lt;STRONG&gt;nifi-api/process-groups/${PG_ID}/process-groups&lt;/STRONG&gt;&lt;BR /&gt;starting with root-pg-id, split and doing the same for each therein found processgroup in a loop.&lt;/P&gt;&lt;P&gt;So I can get component-name, component-version, pg-id.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One info I still miss is &lt;STRONG&gt;timestamp when a processgroup was brought to a NiFi-instance&lt;/STRONG&gt; (imported from registry) or &lt;STRONG&gt;when it was last updated&lt;/STRONG&gt; (change of version).&lt;/P&gt;&lt;P&gt;Do you have a tip where to find this? Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Oct 2020 10:24:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-REST-API-searching-for-information-about-versioned/m-p/304336#M221988</guid>
      <dc:creator>justenji</dc:creator>
      <dc:date>2020-10-14T10:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi - REST-API - searching for information about versioned processgroups</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-REST-API-searching-for-information-about-versioned/m-p/304338#M221990</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/67599"&gt;@justenji&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The timestamp details are not exposed by NiFi on Flow but NiFi does maintain it in&amp;nbsp;&lt;SPAN&gt;flow history. [Only if NiFi is secured with SSL]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;So you can try&amp;nbsp;&lt;SPAN&gt;https://${hostname}:${NIFI_PORT}/&lt;/SPAN&gt;nifi-api/&lt;SPAN&gt;flow/history/components/{componentId} to get the details. But it will provide all history of that component you have to parse it as per your need. Note that this info gets purged as per flow history parameters in nifi.properties so you will have these details not from beginning but beginning of the date [days/hours] mentioned in properties.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If you are looking for flow timestamp when it is exported to NiFi-Registry then checkout for&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1" data-unlink="true"&gt;https://${hostname}:${NR_PORT}//nifi-registry-api/buckets/{bucketId}/flows/{flowId}&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;Br,&lt;/P&gt;&lt;P class="p1"&gt;Akash&lt;/P&gt;</description>
      <pubDate>Wed, 14 Oct 2020 10:58:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-REST-API-searching-for-information-about-versioned/m-p/304338#M221990</guid>
      <dc:creator>ashinde</dc:creator>
      <dc:date>2020-10-14T10:58:07Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi - REST-API - searching for information about versioned processgroups</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-REST-API-searching-for-information-about-versioned/m-p/304421#M222027</link>
      <description>&lt;P&gt;Thanks for your help &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/60285"&gt;@ashinde&lt;/a&gt;&amp;nbsp;!&lt;BR /&gt;I see I was looking at the wrong section of rest-api.&lt;/P&gt;&lt;P&gt;OK I have to go on nifi rest-api section &lt;STRONG&gt;flow/history&lt;/STRONG&gt;.&lt;BR /&gt;I will have a look on the nifi.properties but because my report is running every night I suppose the purging doesn't matter.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Second option you mentioned concerning when a flow was brought to registry doesn't interest... at the moment.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Oct 2020 11:20:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-REST-API-searching-for-information-about-versioned/m-p/304421#M222027</guid>
      <dc:creator>justenji</dc:creator>
      <dc:date>2020-10-15T11:20:22Z</dc:date>
    </item>
  </channel>
</rss>

