title: How to save all entities in nifi ui into template using rest api?
body: <p>i having lot of process groups and processors in Nifi UI-0.6.1.Now i need to save all entities as templates using rest api.</p>
  
  <p>In generally snippet ID is needed for create template.</p>
  
  <p>If i have tried snippet ID creation for single process group in below json Contents.</p>
  
  <pre><code>  {
      "revision": {
          "version": 109
      },
       "snippet": {
          "parentGroupId": "root",
         "processGroups":["d3ea576e-d474-4edd-8b11-43071bcaf252"]
  
      }
  }
  </code></pre>
  
  <p>i could be able created the snippet ID and Template for single process group.</p>
  
  <p><strong>But i need to all entities(ProcessGroups,Processors) in UI to be save as template.</strong></p>
  
  <p>How to create snippetID for all entities in UI?</p>