You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ranger.apache.org by rm...@apache.org on 2021/11/05 18:32:07 UTC

svn commit: r1894763 [15/31] - in /ranger/site/trunk: ./ apidocs/ apidocs/ui/ kms/apidocs/ kms/apidocs/ui/

Modified: ranger/site/trunk/apidocs/resource_RoleREST.html
URL: http://svn.apache.org/viewvc/ranger/site/trunk/apidocs/resource_RoleREST.html?rev=1894763&r1=1894762&r2=1894763&view=diff
==============================================================================
--- ranger/site/trunk/apidocs/resource_RoleREST.html (original)
+++ ranger/site/trunk/apidocs/resource_RoleREST.html Fri Nov  5 18:32:04 2021
@@ -52,6 +52,8 @@
         <ul class="nav nav-sidebar">
           <li><a href="#resource_RoleREST_getAllRoles_GET"><abbr title="GET /roles/roles"><span class="sideoverflow">GET /roles/roles</span></abbr></a></li>
           <li><a href="#resource_RoleREST_createRole_POST"><abbr title="POST /roles/roles"><span class="sideoverflow">POST /roles/roles</span></abbr></a></li>
+          <li><a href="#resource_RoleREST_getRangerRolesIfUpdated_GET"><abbr title="GET /roles/download/{serviceName}"><span class="sideoverflow">GET /roles/download/{serviceName}</span></abbr></a></li>
+          <li><a href="#resource_RoleREST_getAllRolesForUser_GET"><abbr title="GET /roles/lookup/roles"><span class="sideoverflow">GET /roles/lookup/roles</span></abbr></a></li>
           <li><a href="#resource_RoleREST_getAllRoleNames_GET"><abbr title="GET /roles/roles/names"><span class="sideoverflow">GET /roles/roles/names</span></abbr></a></li>
           <li><a href="#resource_RoleREST_deleteRole_DELETE"><abbr title="DELETE /roles/roles/{id}"><span class="sideoverflow">DELETE /roles/roles/{id}</span></abbr></a></li>
           <li><a href="#resource_RoleREST_getRole_GET"><abbr title="GET /roles/roles/{id}"><span class="sideoverflow">GET /roles/roles/{id}</span></abbr></a></li>
@@ -64,6 +66,7 @@
           <li><a href="#resource_RoleREST_addUsersAndGroups_PUT"><abbr title="PUT /roles/roles/{id}/addUsersAndGroups"><span class="sideoverflow">PUT /roles/roles/{id}/addUsersAndGroups</span></abbr></a></li>
           <li><a href="#resource_RoleREST_removeAdminFromUsersAndGroups_PUT"><abbr title="PUT /roles/roles/{id}/removeAdminFromUsersAndGroups"><span class="sideoverflow">PUT /roles/roles/{id}/removeAdminFromUsersAndGroups</span></abbr></a></li>
           <li><a href="#resource_RoleREST_removeUsersAndGroups_PUT"><abbr title="PUT /roles/roles/{id}/removeUsersAndGroups"><span class="sideoverflow">PUT /roles/roles/{id}/removeUsersAndGroups</span></abbr></a></li>
+          <li><a href="#resource_RoleREST_getSecureRangerRolesIfUpdated_GET"><abbr title="GET /roles/secure/download/{serviceName}"><span class="sideoverflow">GET /roles/secure/download/{serviceName}</span></abbr></a></li>
           <li class="divider"></li>
           <li class="text-right"><a href="#top"><small>Back to Top</small></a></li>
         </ul>
@@ -133,78 +136,78 @@ Content-Type: application/json
                 <code class="prettyprint language-js">
 {
   &quot;roles&quot; : [ {
-    &quot;options&quot; : {
-      &quot;property1&quot; : { },
-      &quot;property2&quot; : { }
-    },
     &quot;createdByUser&quot; : &quot;...&quot;,
     &quot;groups&quot; : [ {
-      &quot;isAdmin&quot; : true,
-      &quot;name&quot; : &quot;...&quot;
+      &quot;name&quot; : &quot;...&quot;,
+      &quot;isAdmin&quot; : true
     }, {
-      &quot;isAdmin&quot; : true,
-      &quot;name&quot; : &quot;...&quot;
-    } ],
-    &quot;description&quot; : &quot;...&quot;,
-    &quot;roles&quot; : [ {
-      &quot;isAdmin&quot; : true,
-      &quot;name&quot; : &quot;...&quot;
-    }, {
-      &quot;isAdmin&quot; : true,
-      &quot;name&quot; : &quot;...&quot;
+      &quot;name&quot; : &quot;...&quot;,
+      &quot;isAdmin&quot; : true
     } ],
     &quot;users&quot; : [ {
-      &quot;isAdmin&quot; : true,
-      &quot;name&quot; : &quot;...&quot;
+      &quot;name&quot; : &quot;...&quot;,
+      &quot;isAdmin&quot; : true
     }, {
-      &quot;isAdmin&quot; : true,
-      &quot;name&quot; : &quot;...&quot;
+      &quot;name&quot; : &quot;...&quot;,
+      &quot;isAdmin&quot; : true
     } ],
     &quot;name&quot; : &quot;...&quot;,
+    &quot;options&quot; : {
+      &quot;property1&quot; : { },
+      &quot;property2&quot; : { }
+    },
+    &quot;description&quot; : &quot;...&quot;,
+    &quot;roles&quot; : [ {
+      &quot;name&quot; : &quot;...&quot;,
+      &quot;isAdmin&quot; : true
+    }, {
+      &quot;name&quot; : &quot;...&quot;,
+      &quot;isAdmin&quot; : true
+    } ],
     &quot;createTime&quot; : 12345,
+    &quot;id&quot; : 12345,
     &quot;updatedBy&quot; : &quot;...&quot;,
     &quot;version&quot; : 12345,
-    &quot;updateTime&quot; : 12345,
-    &quot;id&quot; : 12345,
     &quot;createdBy&quot; : &quot;...&quot;,
     &quot;guid&quot; : &quot;...&quot;,
+    &quot;updateTime&quot; : 12345,
     &quot;isEnabled&quot; : true
   }, {
-    &quot;options&quot; : {
-      &quot;property1&quot; : { },
-      &quot;property2&quot; : { }
-    },
     &quot;createdByUser&quot; : &quot;...&quot;,
     &quot;groups&quot; : [ {
-      &quot;isAdmin&quot; : true,
-      &quot;name&quot; : &quot;...&quot;
-    }, {
-      &quot;isAdmin&quot; : true,
-      &quot;name&quot; : &quot;...&quot;
-    } ],
-    &quot;description&quot; : &quot;...&quot;,
-    &quot;roles&quot; : [ {
-      &quot;isAdmin&quot; : true,
-      &quot;name&quot; : &quot;...&quot;
+      &quot;name&quot; : &quot;...&quot;,
+      &quot;isAdmin&quot; : true
     }, {
-      &quot;isAdmin&quot; : true,
-      &quot;name&quot; : &quot;...&quot;
+      &quot;name&quot; : &quot;...&quot;,
+      &quot;isAdmin&quot; : true
     } ],
     &quot;users&quot; : [ {
-      &quot;isAdmin&quot; : true,
-      &quot;name&quot; : &quot;...&quot;
+      &quot;name&quot; : &quot;...&quot;,
+      &quot;isAdmin&quot; : true
     }, {
-      &quot;isAdmin&quot; : true,
-      &quot;name&quot; : &quot;...&quot;
+      &quot;name&quot; : &quot;...&quot;,
+      &quot;isAdmin&quot; : true
     } ],
     &quot;name&quot; : &quot;...&quot;,
+    &quot;options&quot; : {
+      &quot;property1&quot; : { },
+      &quot;property2&quot; : { }
+    },
+    &quot;description&quot; : &quot;...&quot;,
+    &quot;roles&quot; : [ {
+      &quot;name&quot; : &quot;...&quot;,
+      &quot;isAdmin&quot; : true
+    }, {
+      &quot;name&quot; : &quot;...&quot;,
+      &quot;isAdmin&quot; : true
+    } ],
     &quot;createTime&quot; : 12345,
+    &quot;id&quot; : 12345,
     &quot;updatedBy&quot; : &quot;...&quot;,
     &quot;version&quot; : 12345,
-    &quot;updateTime&quot; : 12345,
-    &quot;id&quot; : 12345,
     &quot;createdBy&quot; : &quot;...&quot;,
     &quot;guid&quot; : &quot;...&quot;,
+    &quot;updateTime&quot; : 12345,
     &quot;isEnabled&quot; : true
   } ],
   &quot;listSize&quot; : 12345,
@@ -235,13 +238,24 @@ Content-Type: application/json
             <th>name</th>
             <th>type</th>
             <th>description</th>
+            <th>default</th>
+            <th>constraints</th>
           </tr>
           </thead>
           <tbody>
           <tr>
+            <td><span class="parameter-name">createNonExistUserGroup</span></td>
+            <td>query</td>
+            <td><span class="parameter-description"></span></td>
+            <td><span class="parameter-default-value">false</span></td>
+            <td><span class="parameter-constraints">boolean</span></td>
+          </tr>
+          <tr>
             <td><span class="parameter-name">serviceName</span></td>
             <td>query</td>
             <td><span class="parameter-description"></span></td>
+            <td><span class="parameter-default-value">&nbsp;</span></td>
+            <td><span class="parameter-constraints">&nbsp;</span></td>
           </tr>
           </tbody>
         </table>
@@ -304,41 +318,41 @@ Accept: application/json
 
                 <code class="prettyprint language-js">
 {
-  &quot;options&quot; : {
-    &quot;property1&quot; : { },
-    &quot;property2&quot; : { }
-  },
   &quot;createdByUser&quot; : &quot;...&quot;,
   &quot;groups&quot; : [ {
-    &quot;isAdmin&quot; : true,
-    &quot;name&quot; : &quot;...&quot;
-  }, {
-    &quot;isAdmin&quot; : true,
-    &quot;name&quot; : &quot;...&quot;
-  } ],
-  &quot;description&quot; : &quot;...&quot;,
-  &quot;roles&quot; : [ {
-    &quot;isAdmin&quot; : true,
-    &quot;name&quot; : &quot;...&quot;
+    &quot;name&quot; : &quot;...&quot;,
+    &quot;isAdmin&quot; : true
   }, {
-    &quot;isAdmin&quot; : true,
-    &quot;name&quot; : &quot;...&quot;
+    &quot;name&quot; : &quot;...&quot;,
+    &quot;isAdmin&quot; : true
   } ],
   &quot;users&quot; : [ {
-    &quot;isAdmin&quot; : true,
-    &quot;name&quot; : &quot;...&quot;
+    &quot;name&quot; : &quot;...&quot;,
+    &quot;isAdmin&quot; : true
   }, {
-    &quot;isAdmin&quot; : true,
-    &quot;name&quot; : &quot;...&quot;
+    &quot;name&quot; : &quot;...&quot;,
+    &quot;isAdmin&quot; : true
   } ],
   &quot;name&quot; : &quot;...&quot;,
+  &quot;options&quot; : {
+    &quot;property1&quot; : { },
+    &quot;property2&quot; : { }
+  },
+  &quot;description&quot; : &quot;...&quot;,
+  &quot;roles&quot; : [ {
+    &quot;name&quot; : &quot;...&quot;,
+    &quot;isAdmin&quot; : true
+  }, {
+    &quot;name&quot; : &quot;...&quot;,
+    &quot;isAdmin&quot; : true
+  } ],
   &quot;createTime&quot; : 12345,
+  &quot;id&quot; : 12345,
   &quot;updatedBy&quot; : &quot;...&quot;,
   &quot;version&quot; : 12345,
-  &quot;updateTime&quot; : 12345,
-  &quot;id&quot; : 12345,
   &quot;createdBy&quot; : &quot;...&quot;,
   &quot;guid&quot; : &quot;...&quot;,
+  &quot;updateTime&quot; : 12345,
   &quot;isEnabled&quot; : true
 }
                 </code>
@@ -352,41 +366,41 @@ Content-Type: application/json
 
                 <code class="prettyprint language-js">
 {
-  &quot;options&quot; : {
-    &quot;property1&quot; : { },
-    &quot;property2&quot; : { }
-  },
   &quot;createdByUser&quot; : &quot;...&quot;,
   &quot;groups&quot; : [ {
-    &quot;isAdmin&quot; : true,
-    &quot;name&quot; : &quot;...&quot;
-  }, {
-    &quot;isAdmin&quot; : true,
-    &quot;name&quot; : &quot;...&quot;
-  } ],
-  &quot;description&quot; : &quot;...&quot;,
-  &quot;roles&quot; : [ {
-    &quot;isAdmin&quot; : true,
-    &quot;name&quot; : &quot;...&quot;
+    &quot;name&quot; : &quot;...&quot;,
+    &quot;isAdmin&quot; : true
   }, {
-    &quot;isAdmin&quot; : true,
-    &quot;name&quot; : &quot;...&quot;
+    &quot;name&quot; : &quot;...&quot;,
+    &quot;isAdmin&quot; : true
   } ],
   &quot;users&quot; : [ {
-    &quot;isAdmin&quot; : true,
-    &quot;name&quot; : &quot;...&quot;
+    &quot;name&quot; : &quot;...&quot;,
+    &quot;isAdmin&quot; : true
   }, {
-    &quot;isAdmin&quot; : true,
-    &quot;name&quot; : &quot;...&quot;
+    &quot;name&quot; : &quot;...&quot;,
+    &quot;isAdmin&quot; : true
   } ],
   &quot;name&quot; : &quot;...&quot;,
+  &quot;options&quot; : {
+    &quot;property1&quot; : { },
+    &quot;property2&quot; : { }
+  },
+  &quot;description&quot; : &quot;...&quot;,
+  &quot;roles&quot; : [ {
+    &quot;name&quot; : &quot;...&quot;,
+    &quot;isAdmin&quot; : true
+  }, {
+    &quot;name&quot; : &quot;...&quot;,
+    &quot;isAdmin&quot; : true
+  } ],
   &quot;createTime&quot; : 12345,
+  &quot;id&quot; : 12345,
   &quot;updatedBy&quot; : &quot;...&quot;,
   &quot;version&quot; : 12345,
-  &quot;updateTime&quot; : 12345,
-  &quot;id&quot; : 12345,
   &quot;createdBy&quot; : &quot;...&quot;,
   &quot;guid&quot; : &quot;...&quot;,
+  &quot;updateTime&quot; : 12345,
   &quot;isEnabled&quot; : true
 }
                 </code>
@@ -396,6 +410,344 @@ Content-Type: application/json
         </div>
       </div>
 
+      <div id="resource_RoleREST_getRangerRolesIfUpdated_GET">
+        <h3><span class="label label-default resource-method">GET</span> <span class="resource-path">/roles/download/{serviceName} <a href="../roles/download/{serviceName}" class="glyphicon glyphicon-new-window" target="_blank"></a></span></h3>
+
+        <p></p>
+
+        <table class="table resource-parameters">
+          <caption>Request Parameters</caption>
+          <thead>
+          <tr>
+            <th>name</th>
+            <th>type</th>
+            <th>description</th>
+            <th>default</th>
+            <th>constraints</th>
+          </tr>
+          </thead>
+          <tbody>
+          <tr>
+            <td><span class="parameter-name">serviceName</span></td>
+            <td>path</td>
+            <td><span class="parameter-description"></span></td>
+            <td><span class="parameter-default-value">&nbsp;</span></td>
+            <td><span class="parameter-constraints">&nbsp;</span></td>
+          </tr>
+          <tr>
+            <td><span class="parameter-name">clusterName</span></td>
+            <td>query</td>
+            <td><span class="parameter-description"></span></td>
+            <td><span class="parameter-default-value"></span></td>
+            <td><span class="parameter-constraints">&nbsp;</span></td>
+          </tr>
+          <tr>
+            <td><span class="parameter-name">lastActivationTime</span></td>
+            <td>query</td>
+            <td><span class="parameter-description"></span></td>
+            <td><span class="parameter-default-value">0</span></td>
+            <td><span class="parameter-constraints">long</span></td>
+          </tr>
+          <tr>
+            <td><span class="parameter-name">lastKnownRoleVersion</span></td>
+            <td>query</td>
+            <td><span class="parameter-description"></span></td>
+            <td><span class="parameter-default-value">&nbsp;</span></td>
+            <td><span class="parameter-constraints">long</span></td>
+          </tr>
+          <tr>
+            <td><span class="parameter-name">pluginCapabilities</span></td>
+            <td>query</td>
+            <td><span class="parameter-description"></span></td>
+            <td><span class="parameter-default-value"></span></td>
+            <td><span class="parameter-constraints">&nbsp;</span></td>
+          </tr>
+          <tr>
+            <td><span class="parameter-name">pluginId</span></td>
+            <td>query</td>
+            <td><span class="parameter-description"></span></td>
+            <td><span class="parameter-default-value">&nbsp;</span></td>
+            <td><span class="parameter-constraints">&nbsp;</span></td>
+          </tr>
+          </tbody>
+        </table>
+
+        <table class="table resource-response-body">
+          <caption>Response Body</caption>
+          <thead>
+          <tr>
+            <th>media type</th>
+            <th>data type</th>
+            <th>description</th>
+          </tr>
+          </thead>
+          <tbody>
+          <tr>
+            <td><abbr data-toggle="tooltip" data-placement="top" title="Use the &quot;Accept: application/json&quot; HTTP header to request that this media type be provided by the server."><span class="response-type">application/json</span></abbr></td>
+            <td><span class="datatype-reference"><a href="json_RangerRoles.html">RangerRoles</a>
+ (JSON)</span></td>
+            <td rowspan="2" class="multi-row-description"><span class="response-description"></span></td>
+          </tr>
+          <tr>
+            <td><abbr data-toggle="tooltip" data-placement="top" title="Use the &quot;Accept: application/xml&quot; HTTP header to request that this media type be provided by the server."><span class="response-type">application/xml</span></abbr></td>
+            <td><span class="datatype-reference"><a href="xml_ns0_rangerRoles.html">rangerRoles</a>
+ (XML)</span></td>
+          </tr>
+          </tbody>
+        </table>
+        <h4>Example</h4>
+
+        <div class="container-fluid example panel">
+          <div class="row panel-body">
+            <div class="col-md-6">
+              <h5>Request</h5>
+              <pre>
+GET /roles/download/{serviceName}
+Content-Type: */*
+Accept: application/json
+
+                <code class="prettyprint language-txt">
+...
+                </code>
+              </pre>
+            </div>
+            <div class="col-md-6">
+              <h5>Response</h5>
+              <pre>
+HTTP/1.1 200 OK
+Content-Type: application/json
+
+                <code class="prettyprint language-js">
+{
+  &quot;roleVersion&quot; : 12345,
+  &quot;serviceName&quot; : &quot;...&quot;,
+  &quot;roleUpdateTime&quot; : 12345,
+  &quot;rangerRoles&quot; : [ {
+    &quot;createdByUser&quot; : &quot;...&quot;,
+    &quot;groups&quot; : [ {
+      &quot;name&quot; : &quot;...&quot;,
+      &quot;isAdmin&quot; : true
+    }, {
+      &quot;name&quot; : &quot;...&quot;,
+      &quot;isAdmin&quot; : true
+    } ],
+    &quot;users&quot; : [ {
+      &quot;name&quot; : &quot;...&quot;,
+      &quot;isAdmin&quot; : true
+    }, {
+      &quot;name&quot; : &quot;...&quot;,
+      &quot;isAdmin&quot; : true
+    } ],
+    &quot;name&quot; : &quot;...&quot;,
+    &quot;options&quot; : {
+      &quot;property1&quot; : { },
+      &quot;property2&quot; : { }
+    },
+    &quot;description&quot; : &quot;...&quot;,
+    &quot;roles&quot; : [ {
+      &quot;name&quot; : &quot;...&quot;,
+      &quot;isAdmin&quot; : true
+    }, {
+      &quot;name&quot; : &quot;...&quot;,
+      &quot;isAdmin&quot; : true
+    } ],
+    &quot;createTime&quot; : 12345,
+    &quot;id&quot; : 12345,
+    &quot;updatedBy&quot; : &quot;...&quot;,
+    &quot;version&quot; : 12345,
+    &quot;createdBy&quot; : &quot;...&quot;,
+    &quot;guid&quot; : &quot;...&quot;,
+    &quot;updateTime&quot; : 12345,
+    &quot;isEnabled&quot; : true
+  }, {
+    &quot;createdByUser&quot; : &quot;...&quot;,
+    &quot;groups&quot; : [ {
+      &quot;name&quot; : &quot;...&quot;,
+      &quot;isAdmin&quot; : true
+    }, {
+      &quot;name&quot; : &quot;...&quot;,
+      &quot;isAdmin&quot; : true
+    } ],
+    &quot;users&quot; : [ {
+      &quot;name&quot; : &quot;...&quot;,
+      &quot;isAdmin&quot; : true
+    }, {
+      &quot;name&quot; : &quot;...&quot;,
+      &quot;isAdmin&quot; : true
+    } ],
+    &quot;name&quot; : &quot;...&quot;,
+    &quot;options&quot; : {
+      &quot;property1&quot; : { },
+      &quot;property2&quot; : { }
+    },
+    &quot;description&quot; : &quot;...&quot;,
+    &quot;roles&quot; : [ {
+      &quot;name&quot; : &quot;...&quot;,
+      &quot;isAdmin&quot; : true
+    }, {
+      &quot;name&quot; : &quot;...&quot;,
+      &quot;isAdmin&quot; : true
+    } ],
+    &quot;createTime&quot; : 12345,
+    &quot;id&quot; : 12345,
+    &quot;updatedBy&quot; : &quot;...&quot;,
+    &quot;version&quot; : 12345,
+    &quot;createdBy&quot; : &quot;...&quot;,
+    &quot;guid&quot; : &quot;...&quot;,
+    &quot;updateTime&quot; : 12345,
+    &quot;isEnabled&quot; : true
+  } ]
+}
+                </code>
+              </pre>
+            </div>
+          </div>
+        </div>
+      </div>
+
+      <div id="resource_RoleREST_getAllRolesForUser_GET">
+        <h3><span class="label label-default resource-method">GET</span> <span class="resource-path">/roles/lookup/roles <a href="../roles/lookup/roles" class="glyphicon glyphicon-new-window" target="_blank"></a></span></h3>
+
+        <p></p>
+
+        <table class="table resource-response-body">
+          <caption>Response Body</caption>
+          <thead>
+          <tr>
+            <th>media type</th>
+            <th>data type</th>
+            <th>description</th>
+          </tr>
+          </thead>
+          <tbody>
+          <tr>
+            <td><abbr data-toggle="tooltip" data-placement="top" title="Use the &quot;Accept: application/json&quot; HTTP header to request that this media type be provided by the server."><span class="response-type">application/json</span></abbr></td>
+            <td><span class="datatype-reference"><a href="json_RangerRoleList.html">RangerRoleList</a>
+ (JSON)</span></td>
+            <td rowspan="2" class="multi-row-description"><span class="response-description"></span></td>
+          </tr>
+          <tr>
+            <td><abbr data-toggle="tooltip" data-placement="top" title="Use the &quot;Accept: application/xml&quot; HTTP header to request that this media type be provided by the server."><span class="response-type">application/xml</span></abbr></td>
+            <td><span class="datatype-reference"><a href="xml_ns0_rangerRoleList.html">rangerRoleList</a>
+ (XML)</span></td>
+          </tr>
+          </tbody>
+        </table>
+        <h4>Example</h4>
+
+        <div class="container-fluid example panel">
+          <div class="row panel-body">
+            <div class="col-md-6">
+              <h5>Request</h5>
+              <pre>
+GET /roles/lookup/roles
+Content-Type: */*
+Accept: application/json
+
+                <code class="prettyprint language-txt">
+...
+                </code>
+              </pre>
+            </div>
+            <div class="col-md-6">
+              <h5>Response</h5>
+              <pre>
+HTTP/1.1 200 OK
+Content-Type: application/json
+
+                <code class="prettyprint language-js">
+{
+  &quot;roles&quot; : [ {
+    &quot;createdByUser&quot; : &quot;...&quot;,
+    &quot;groups&quot; : [ {
+      &quot;name&quot; : &quot;...&quot;,
+      &quot;isAdmin&quot; : true
+    }, {
+      &quot;name&quot; : &quot;...&quot;,
+      &quot;isAdmin&quot; : true
+    } ],
+    &quot;users&quot; : [ {
+      &quot;name&quot; : &quot;...&quot;,
+      &quot;isAdmin&quot; : true
+    }, {
+      &quot;name&quot; : &quot;...&quot;,
+      &quot;isAdmin&quot; : true
+    } ],
+    &quot;name&quot; : &quot;...&quot;,
+    &quot;options&quot; : {
+      &quot;property1&quot; : { },
+      &quot;property2&quot; : { }
+    },
+    &quot;description&quot; : &quot;...&quot;,
+    &quot;roles&quot; : [ {
+      &quot;name&quot; : &quot;...&quot;,
+      &quot;isAdmin&quot; : true
+    }, {
+      &quot;name&quot; : &quot;...&quot;,
+      &quot;isAdmin&quot; : true
+    } ],
+    &quot;createTime&quot; : 12345,
+    &quot;id&quot; : 12345,
+    &quot;updatedBy&quot; : &quot;...&quot;,
+    &quot;version&quot; : 12345,
+    &quot;createdBy&quot; : &quot;...&quot;,
+    &quot;guid&quot; : &quot;...&quot;,
+    &quot;updateTime&quot; : 12345,
+    &quot;isEnabled&quot; : true
+  }, {
+    &quot;createdByUser&quot; : &quot;...&quot;,
+    &quot;groups&quot; : [ {
+      &quot;name&quot; : &quot;...&quot;,
+      &quot;isAdmin&quot; : true
+    }, {
+      &quot;name&quot; : &quot;...&quot;,
+      &quot;isAdmin&quot; : true
+    } ],
+    &quot;users&quot; : [ {
+      &quot;name&quot; : &quot;...&quot;,
+      &quot;isAdmin&quot; : true
+    }, {
+      &quot;name&quot; : &quot;...&quot;,
+      &quot;isAdmin&quot; : true
+    } ],
+    &quot;name&quot; : &quot;...&quot;,
+    &quot;options&quot; : {
+      &quot;property1&quot; : { },
+      &quot;property2&quot; : { }
+    },
+    &quot;description&quot; : &quot;...&quot;,
+    &quot;roles&quot; : [ {
+      &quot;name&quot; : &quot;...&quot;,
+      &quot;isAdmin&quot; : true
+    }, {
+      &quot;name&quot; : &quot;...&quot;,
+      &quot;isAdmin&quot; : true
+    } ],
+    &quot;createTime&quot; : 12345,
+    &quot;id&quot; : 12345,
+    &quot;updatedBy&quot; : &quot;...&quot;,
+    &quot;version&quot; : 12345,
+    &quot;createdBy&quot; : &quot;...&quot;,
+    &quot;guid&quot; : &quot;...&quot;,
+    &quot;updateTime&quot; : 12345,
+    &quot;isEnabled&quot; : true
+  } ],
+  &quot;listSize&quot; : 12345,
+  &quot;list&quot; : [ { }, { } ],
+  &quot;startIndex&quot; : 12345,
+  &quot;pageSize&quot; : 12345,
+  &quot;totalCount&quot; : 12345,
+  &quot;resultSize&quot; : 12345,
+  &quot;sortType&quot; : &quot;...&quot;,
+  &quot;sortBy&quot; : &quot;...&quot;
+}
+                </code>
+              </pre>
+            </div>
+          </div>
+        </div>
+      </div>
+
       <div id="resource_RoleREST_getAllRoleNames_GET">
         <h3><span class="label label-default resource-method">GET</span> <span class="resource-path">/roles/roles/names <a href="../roles/roles/names" class="glyphicon glyphicon-new-window" target="_blank"></a></span></h3>
 
@@ -600,41 +952,41 @@ Content-Type: application/json
 
                 <code class="prettyprint language-js">
 {
-  &quot;options&quot; : {
-    &quot;property1&quot; : { },
-    &quot;property2&quot; : { }
-  },
   &quot;createdByUser&quot; : &quot;...&quot;,
   &quot;groups&quot; : [ {
-    &quot;isAdmin&quot; : true,
-    &quot;name&quot; : &quot;...&quot;
-  }, {
-    &quot;isAdmin&quot; : true,
-    &quot;name&quot; : &quot;...&quot;
-  } ],
-  &quot;description&quot; : &quot;...&quot;,
-  &quot;roles&quot; : [ {
-    &quot;isAdmin&quot; : true,
-    &quot;name&quot; : &quot;...&quot;
+    &quot;name&quot; : &quot;...&quot;,
+    &quot;isAdmin&quot; : true
   }, {
-    &quot;isAdmin&quot; : true,
-    &quot;name&quot; : &quot;...&quot;
+    &quot;name&quot; : &quot;...&quot;,
+    &quot;isAdmin&quot; : true
   } ],
   &quot;users&quot; : [ {
-    &quot;isAdmin&quot; : true,
-    &quot;name&quot; : &quot;...&quot;
+    &quot;name&quot; : &quot;...&quot;,
+    &quot;isAdmin&quot; : true
   }, {
-    &quot;isAdmin&quot; : true,
-    &quot;name&quot; : &quot;...&quot;
+    &quot;name&quot; : &quot;...&quot;,
+    &quot;isAdmin&quot; : true
   } ],
   &quot;name&quot; : &quot;...&quot;,
+  &quot;options&quot; : {
+    &quot;property1&quot; : { },
+    &quot;property2&quot; : { }
+  },
+  &quot;description&quot; : &quot;...&quot;,
+  &quot;roles&quot; : [ {
+    &quot;name&quot; : &quot;...&quot;,
+    &quot;isAdmin&quot; : true
+  }, {
+    &quot;name&quot; : &quot;...&quot;,
+    &quot;isAdmin&quot; : true
+  } ],
   &quot;createTime&quot; : 12345,
+  &quot;id&quot; : 12345,
   &quot;updatedBy&quot; : &quot;...&quot;,
   &quot;version&quot; : 12345,
-  &quot;updateTime&quot; : 12345,
-  &quot;id&quot; : 12345,
   &quot;createdBy&quot; : &quot;...&quot;,
   &quot;guid&quot; : &quot;...&quot;,
+  &quot;updateTime&quot; : 12345,
   &quot;isEnabled&quot; : true
 }
                 </code>
@@ -656,6 +1008,7 @@ Content-Type: application/json
             <th>name</th>
             <th>type</th>
             <th>description</th>
+            <th>default</th>
             <th>constraints</th>
           </tr>
           </thead>
@@ -664,8 +1017,16 @@ Content-Type: application/json
             <td><span class="parameter-name">id</span></td>
             <td>path</td>
             <td><span class="parameter-description"></span></td>
+            <td><span class="parameter-default-value">&nbsp;</span></td>
             <td><span class="parameter-constraints">long</span></td>
           </tr>
+          <tr>
+            <td><span class="parameter-name">createNonExistUserGroup</span></td>
+            <td>query</td>
+            <td><span class="parameter-description"></span></td>
+            <td><span class="parameter-default-value">false</span></td>
+            <td><span class="parameter-constraints">boolean</span></td>
+          </tr>
           </tbody>
         </table>
 
@@ -727,41 +1088,41 @@ Accept: application/json
 
                 <code class="prettyprint language-js">
 {
-  &quot;options&quot; : {
-    &quot;property1&quot; : { },
-    &quot;property2&quot; : { }
-  },
   &quot;createdByUser&quot; : &quot;...&quot;,
   &quot;groups&quot; : [ {
-    &quot;isAdmin&quot; : true,
-    &quot;name&quot; : &quot;...&quot;
-  }, {
-    &quot;isAdmin&quot; : true,
-    &quot;name&quot; : &quot;...&quot;
-  } ],
-  &quot;description&quot; : &quot;...&quot;,
-  &quot;roles&quot; : [ {
-    &quot;isAdmin&quot; : true,
-    &quot;name&quot; : &quot;...&quot;
+    &quot;name&quot; : &quot;...&quot;,
+    &quot;isAdmin&quot; : true
   }, {
-    &quot;isAdmin&quot; : true,
-    &quot;name&quot; : &quot;...&quot;
+    &quot;name&quot; : &quot;...&quot;,
+    &quot;isAdmin&quot; : true
   } ],
   &quot;users&quot; : [ {
-    &quot;isAdmin&quot; : true,
-    &quot;name&quot; : &quot;...&quot;
+    &quot;name&quot; : &quot;...&quot;,
+    &quot;isAdmin&quot; : true
   }, {
-    &quot;isAdmin&quot; : true,
-    &quot;name&quot; : &quot;...&quot;
+    &quot;name&quot; : &quot;...&quot;,
+    &quot;isAdmin&quot; : true
   } ],
   &quot;name&quot; : &quot;...&quot;,
+  &quot;options&quot; : {
+    &quot;property1&quot; : { },
+    &quot;property2&quot; : { }
+  },
+  &quot;description&quot; : &quot;...&quot;,
+  &quot;roles&quot; : [ {
+    &quot;name&quot; : &quot;...&quot;,
+    &quot;isAdmin&quot; : true
+  }, {
+    &quot;name&quot; : &quot;...&quot;,
+    &quot;isAdmin&quot; : true
+  } ],
   &quot;createTime&quot; : 12345,
+  &quot;id&quot; : 12345,
   &quot;updatedBy&quot; : &quot;...&quot;,
   &quot;version&quot; : 12345,
-  &quot;updateTime&quot; : 12345,
-  &quot;id&quot; : 12345,
   &quot;createdBy&quot; : &quot;...&quot;,
   &quot;guid&quot; : &quot;...&quot;,
+  &quot;updateTime&quot; : 12345,
   &quot;isEnabled&quot; : true
 }
                 </code>
@@ -775,41 +1136,41 @@ Content-Type: application/json
 
                 <code class="prettyprint language-js">
 {
-  &quot;options&quot; : {
-    &quot;property1&quot; : { },
-    &quot;property2&quot; : { }
-  },
   &quot;createdByUser&quot; : &quot;...&quot;,
   &quot;groups&quot; : [ {
-    &quot;isAdmin&quot; : true,
-    &quot;name&quot; : &quot;...&quot;
-  }, {
-    &quot;isAdmin&quot; : true,
-    &quot;name&quot; : &quot;...&quot;
-  } ],
-  &quot;description&quot; : &quot;...&quot;,
-  &quot;roles&quot; : [ {
-    &quot;isAdmin&quot; : true,
-    &quot;name&quot; : &quot;...&quot;
+    &quot;name&quot; : &quot;...&quot;,
+    &quot;isAdmin&quot; : true
   }, {
-    &quot;isAdmin&quot; : true,
-    &quot;name&quot; : &quot;...&quot;
+    &quot;name&quot; : &quot;...&quot;,
+    &quot;isAdmin&quot; : true
   } ],
   &quot;users&quot; : [ {
-    &quot;isAdmin&quot; : true,
-    &quot;name&quot; : &quot;...&quot;
+    &quot;name&quot; : &quot;...&quot;,
+    &quot;isAdmin&quot; : true
   }, {
-    &quot;isAdmin&quot; : true,
-    &quot;name&quot; : &quot;...&quot;
+    &quot;name&quot; : &quot;...&quot;,
+    &quot;isAdmin&quot; : true
   } ],
   &quot;name&quot; : &quot;...&quot;,
+  &quot;options&quot; : {
+    &quot;property1&quot; : { },
+    &quot;property2&quot; : { }
+  },
+  &quot;description&quot; : &quot;...&quot;,
+  &quot;roles&quot; : [ {
+    &quot;name&quot; : &quot;...&quot;,
+    &quot;isAdmin&quot; : true
+  }, {
+    &quot;name&quot; : &quot;...&quot;,
+    &quot;isAdmin&quot; : true
+  } ],
   &quot;createTime&quot; : 12345,
+  &quot;id&quot; : 12345,
   &quot;updatedBy&quot; : &quot;...&quot;,
   &quot;version&quot; : 12345,
-  &quot;updateTime&quot; : 12345,
-  &quot;id&quot; : 12345,
   &quot;createdBy&quot; : &quot;...&quot;,
   &quot;guid&quot; : &quot;...&quot;,
+  &quot;updateTime&quot; : 12345,
   &quot;isEnabled&quot; : true
 }
                 </code>
@@ -900,17 +1261,17 @@ Accept: application/json
 
                 <code class="prettyprint language-js">
 {
-  &quot;clusterName&quot; : &quot;...&quot;,
+  &quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
   &quot;requestData&quot; : &quot;...&quot;,
-  &quot;clientIPAddress&quot; : &quot;...&quot;,
   &quot;grantorGroups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
+  &quot;clientType&quot; : &quot;...&quot;,
+  &quot;targetRoles&quot; : [ &quot;...&quot;, &quot;...&quot; ],
+  &quot;clusterName&quot; : &quot;...&quot;,
   &quot;grantOption&quot; : true,
-  &quot;grantor&quot; : &quot;...&quot;,
+  &quot;clientIPAddress&quot; : &quot;...&quot;,
   &quot;sessionId&quot; : &quot;...&quot;,
-  &quot;targetRoles&quot; : [ &quot;...&quot;, &quot;...&quot; ],
+  &quot;grantor&quot; : &quot;...&quot;,
   &quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
-  &quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
-  &quot;clientType&quot; : &quot;...&quot;,
   &quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
 }
                 </code>
@@ -926,21 +1287,21 @@ Content-Type: application/json
 {
   &quot;message&quot; : &quot;...&quot;,
   &quot;msgDesc&quot; : &quot;...&quot;,
-  &quot;statusCode&quot; : 12345,
   &quot;httpStatusCode&quot; : 12345,
   &quot;messageList&quot; : [ {
+    &quot;fieldName&quot; : &quot;...&quot;,
+    &quot;objectId&quot; : 12345,
     &quot;rbKey&quot; : &quot;...&quot;,
-    &quot;name&quot; : &quot;...&quot;,
     &quot;message&quot; : &quot;...&quot;,
-    &quot;fieldName&quot; : &quot;...&quot;,
-    &quot;objectId&quot; : 12345
+    &quot;name&quot; : &quot;...&quot;
   }, {
+    &quot;fieldName&quot; : &quot;...&quot;,
+    &quot;objectId&quot; : 12345,
     &quot;rbKey&quot; : &quot;...&quot;,
-    &quot;name&quot; : &quot;...&quot;,
     &quot;message&quot; : &quot;...&quot;,
-    &quot;fieldName&quot; : &quot;...&quot;,
-    &quot;objectId&quot; : 12345
-  } ]
+    &quot;name&quot; : &quot;...&quot;
+  } ],
+  &quot;statusCode&quot; : 12345
 }
                 </code>
               </pre>
@@ -1087,41 +1448,41 @@ Content-Type: application/json
 
                 <code class="prettyprint language-js">
 {
-  &quot;options&quot; : {
-    &quot;property1&quot; : { },
-    &quot;property2&quot; : { }
-  },
   &quot;createdByUser&quot; : &quot;...&quot;,
   &quot;groups&quot; : [ {
-    &quot;isAdmin&quot; : true,
-    &quot;name&quot; : &quot;...&quot;
-  }, {
-    &quot;isAdmin&quot; : true,
-    &quot;name&quot; : &quot;...&quot;
-  } ],
-  &quot;description&quot; : &quot;...&quot;,
-  &quot;roles&quot; : [ {
-    &quot;isAdmin&quot; : true,
-    &quot;name&quot; : &quot;...&quot;
+    &quot;name&quot; : &quot;...&quot;,
+    &quot;isAdmin&quot; : true
   }, {
-    &quot;isAdmin&quot; : true,
-    &quot;name&quot; : &quot;...&quot;
+    &quot;name&quot; : &quot;...&quot;,
+    &quot;isAdmin&quot; : true
   } ],
   &quot;users&quot; : [ {
-    &quot;isAdmin&quot; : true,
-    &quot;name&quot; : &quot;...&quot;
+    &quot;name&quot; : &quot;...&quot;,
+    &quot;isAdmin&quot; : true
   }, {
-    &quot;isAdmin&quot; : true,
-    &quot;name&quot; : &quot;...&quot;
+    &quot;name&quot; : &quot;...&quot;,
+    &quot;isAdmin&quot; : true
   } ],
   &quot;name&quot; : &quot;...&quot;,
+  &quot;options&quot; : {
+    &quot;property1&quot; : { },
+    &quot;property2&quot; : { }
+  },
+  &quot;description&quot; : &quot;...&quot;,
+  &quot;roles&quot; : [ {
+    &quot;name&quot; : &quot;...&quot;,
+    &quot;isAdmin&quot; : true
+  }, {
+    &quot;name&quot; : &quot;...&quot;,
+    &quot;isAdmin&quot; : true
+  } ],
   &quot;createTime&quot; : 12345,
+  &quot;id&quot; : 12345,
   &quot;updatedBy&quot; : &quot;...&quot;,
   &quot;version&quot; : 12345,
-  &quot;updateTime&quot; : 12345,
-  &quot;id&quot; : 12345,
   &quot;createdBy&quot; : &quot;...&quot;,
   &quot;guid&quot; : &quot;...&quot;,
+  &quot;updateTime&quot; : 12345,
   &quot;isEnabled&quot; : true
 }
                 </code>
@@ -1212,17 +1573,17 @@ Accept: application/json
 
                 <code class="prettyprint language-js">
 {
-  &quot;clusterName&quot; : &quot;...&quot;,
+  &quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
   &quot;requestData&quot; : &quot;...&quot;,
-  &quot;clientIPAddress&quot; : &quot;...&quot;,
   &quot;grantorGroups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
+  &quot;clientType&quot; : &quot;...&quot;,
+  &quot;targetRoles&quot; : [ &quot;...&quot;, &quot;...&quot; ],
+  &quot;clusterName&quot; : &quot;...&quot;,
   &quot;grantOption&quot; : true,
-  &quot;grantor&quot; : &quot;...&quot;,
+  &quot;clientIPAddress&quot; : &quot;...&quot;,
   &quot;sessionId&quot; : &quot;...&quot;,
-  &quot;targetRoles&quot; : [ &quot;...&quot;, &quot;...&quot; ],
+  &quot;grantor&quot; : &quot;...&quot;,
   &quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
-  &quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
-  &quot;clientType&quot; : &quot;...&quot;,
   &quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
 }
                 </code>
@@ -1238,21 +1599,21 @@ Content-Type: application/json
 {
   &quot;message&quot; : &quot;...&quot;,
   &quot;msgDesc&quot; : &quot;...&quot;,
-  &quot;statusCode&quot; : 12345,
   &quot;httpStatusCode&quot; : 12345,
   &quot;messageList&quot; : [ {
+    &quot;fieldName&quot; : &quot;...&quot;,
+    &quot;objectId&quot; : 12345,
     &quot;rbKey&quot; : &quot;...&quot;,
-    &quot;name&quot; : &quot;...&quot;,
     &quot;message&quot; : &quot;...&quot;,
-    &quot;fieldName&quot; : &quot;...&quot;,
-    &quot;objectId&quot; : 12345
+    &quot;name&quot; : &quot;...&quot;
   }, {
+    &quot;fieldName&quot; : &quot;...&quot;,
+    &quot;objectId&quot; : 12345,
     &quot;rbKey&quot; : &quot;...&quot;,
-    &quot;name&quot; : &quot;...&quot;,
     &quot;message&quot; : &quot;...&quot;,
-    &quot;fieldName&quot; : &quot;...&quot;,
-    &quot;objectId&quot; : 12345
-  } ]
+    &quot;name&quot; : &quot;...&quot;
+  } ],
+  &quot;statusCode&quot; : 12345
 }
                 </code>
               </pre>
@@ -1412,41 +1773,41 @@ Content-Type: application/json
 
                 <code class="prettyprint language-js">
 {
-  &quot;options&quot; : {
-    &quot;property1&quot; : { },
-    &quot;property2&quot; : { }
-  },
   &quot;createdByUser&quot; : &quot;...&quot;,
   &quot;groups&quot; : [ {
-    &quot;isAdmin&quot; : true,
-    &quot;name&quot; : &quot;...&quot;
-  }, {
-    &quot;isAdmin&quot; : true,
-    &quot;name&quot; : &quot;...&quot;
-  } ],
-  &quot;description&quot; : &quot;...&quot;,
-  &quot;roles&quot; : [ {
-    &quot;isAdmin&quot; : true,
-    &quot;name&quot; : &quot;...&quot;
+    &quot;name&quot; : &quot;...&quot;,
+    &quot;isAdmin&quot; : true
   }, {
-    &quot;isAdmin&quot; : true,
-    &quot;name&quot; : &quot;...&quot;
+    &quot;name&quot; : &quot;...&quot;,
+    &quot;isAdmin&quot; : true
   } ],
   &quot;users&quot; : [ {
-    &quot;isAdmin&quot; : true,
-    &quot;name&quot; : &quot;...&quot;
+    &quot;name&quot; : &quot;...&quot;,
+    &quot;isAdmin&quot; : true
   }, {
-    &quot;isAdmin&quot; : true,
-    &quot;name&quot; : &quot;...&quot;
+    &quot;name&quot; : &quot;...&quot;,
+    &quot;isAdmin&quot; : true
   } ],
   &quot;name&quot; : &quot;...&quot;,
+  &quot;options&quot; : {
+    &quot;property1&quot; : { },
+    &quot;property2&quot; : { }
+  },
+  &quot;description&quot; : &quot;...&quot;,
+  &quot;roles&quot; : [ {
+    &quot;name&quot; : &quot;...&quot;,
+    &quot;isAdmin&quot; : true
+  }, {
+    &quot;name&quot; : &quot;...&quot;,
+    &quot;isAdmin&quot; : true
+  } ],
   &quot;createTime&quot; : 12345,
+  &quot;id&quot; : 12345,
   &quot;updatedBy&quot; : &quot;...&quot;,
   &quot;version&quot; : 12345,
-  &quot;updateTime&quot; : 12345,
-  &quot;id&quot; : 12345,
   &quot;createdBy&quot; : &quot;...&quot;,
   &quot;guid&quot; : &quot;...&quot;,
+  &quot;updateTime&quot; : 12345,
   &quot;isEnabled&quot; : true
 }
                 </code>
@@ -1530,41 +1891,41 @@ Content-Type: application/json
 
                 <code class="prettyprint language-js">
 {
-  &quot;options&quot; : {
-    &quot;property1&quot; : { },
-    &quot;property2&quot; : { }
-  },
   &quot;createdByUser&quot; : &quot;...&quot;,
   &quot;groups&quot; : [ {
-    &quot;isAdmin&quot; : true,
-    &quot;name&quot; : &quot;...&quot;
-  }, {
-    &quot;isAdmin&quot; : true,
-    &quot;name&quot; : &quot;...&quot;
-  } ],
-  &quot;description&quot; : &quot;...&quot;,
-  &quot;roles&quot; : [ {
-    &quot;isAdmin&quot; : true,
-    &quot;name&quot; : &quot;...&quot;
+    &quot;name&quot; : &quot;...&quot;,
+    &quot;isAdmin&quot; : true
   }, {
-    &quot;isAdmin&quot; : true,
-    &quot;name&quot; : &quot;...&quot;
+    &quot;name&quot; : &quot;...&quot;,
+    &quot;isAdmin&quot; : true
   } ],
   &quot;users&quot; : [ {
-    &quot;isAdmin&quot; : true,
-    &quot;name&quot; : &quot;...&quot;
+    &quot;name&quot; : &quot;...&quot;,
+    &quot;isAdmin&quot; : true
   }, {
-    &quot;isAdmin&quot; : true,
-    &quot;name&quot; : &quot;...&quot;
+    &quot;name&quot; : &quot;...&quot;,
+    &quot;isAdmin&quot; : true
   } ],
   &quot;name&quot; : &quot;...&quot;,
+  &quot;options&quot; : {
+    &quot;property1&quot; : { },
+    &quot;property2&quot; : { }
+  },
+  &quot;description&quot; : &quot;...&quot;,
+  &quot;roles&quot; : [ {
+    &quot;name&quot; : &quot;...&quot;,
+    &quot;isAdmin&quot; : true
+  }, {
+    &quot;name&quot; : &quot;...&quot;,
+    &quot;isAdmin&quot; : true
+  } ],
   &quot;createTime&quot; : 12345,
+  &quot;id&quot; : 12345,
   &quot;updatedBy&quot; : &quot;...&quot;,
   &quot;version&quot; : 12345,
-  &quot;updateTime&quot; : 12345,
-  &quot;id&quot; : 12345,
   &quot;createdBy&quot; : &quot;...&quot;,
   &quot;guid&quot; : &quot;...&quot;,
+  &quot;updateTime&quot; : 12345,
   &quot;isEnabled&quot; : true
 }
                 </code>
@@ -1648,45 +2009,240 @@ Content-Type: application/json
 
                 <code class="prettyprint language-js">
 {
-  &quot;options&quot; : {
-    &quot;property1&quot; : { },
-    &quot;property2&quot; : { }
-  },
   &quot;createdByUser&quot; : &quot;...&quot;,
   &quot;groups&quot; : [ {
-    &quot;isAdmin&quot; : true,
-    &quot;name&quot; : &quot;...&quot;
-  }, {
-    &quot;isAdmin&quot; : true,
-    &quot;name&quot; : &quot;...&quot;
-  } ],
-  &quot;description&quot; : &quot;...&quot;,
-  &quot;roles&quot; : [ {
-    &quot;isAdmin&quot; : true,
-    &quot;name&quot; : &quot;...&quot;
+    &quot;name&quot; : &quot;...&quot;,
+    &quot;isAdmin&quot; : true
   }, {
-    &quot;isAdmin&quot; : true,
-    &quot;name&quot; : &quot;...&quot;
+    &quot;name&quot; : &quot;...&quot;,
+    &quot;isAdmin&quot; : true
   } ],
   &quot;users&quot; : [ {
-    &quot;isAdmin&quot; : true,
-    &quot;name&quot; : &quot;...&quot;
+    &quot;name&quot; : &quot;...&quot;,
+    &quot;isAdmin&quot; : true
   }, {
-    &quot;isAdmin&quot; : true,
-    &quot;name&quot; : &quot;...&quot;
+    &quot;name&quot; : &quot;...&quot;,
+    &quot;isAdmin&quot; : true
   } ],
   &quot;name&quot; : &quot;...&quot;,
+  &quot;options&quot; : {
+    &quot;property1&quot; : { },
+    &quot;property2&quot; : { }
+  },
+  &quot;description&quot; : &quot;...&quot;,
+  &quot;roles&quot; : [ {
+    &quot;name&quot; : &quot;...&quot;,
+    &quot;isAdmin&quot; : true
+  }, {
+    &quot;name&quot; : &quot;...&quot;,
+    &quot;isAdmin&quot; : true
+  } ],
   &quot;createTime&quot; : 12345,
+  &quot;id&quot; : 12345,
   &quot;updatedBy&quot; : &quot;...&quot;,
   &quot;version&quot; : 12345,
-  &quot;updateTime&quot; : 12345,
-  &quot;id&quot; : 12345,
   &quot;createdBy&quot; : &quot;...&quot;,
   &quot;guid&quot; : &quot;...&quot;,
+  &quot;updateTime&quot; : 12345,
   &quot;isEnabled&quot; : true
 }
                 </code>
               </pre>
+            </div>
+          </div>
+        </div>
+      </div>
+
+      <div id="resource_RoleREST_getSecureRangerRolesIfUpdated_GET">
+        <h3><span class="label label-default resource-method">GET</span> <span class="resource-path">/roles/secure/download/{serviceName} <a href="../roles/secure/download/{serviceName}" class="glyphicon glyphicon-new-window" target="_blank"></a></span></h3>
+
+        <p></p>
+
+        <table class="table resource-parameters">
+          <caption>Request Parameters</caption>
+          <thead>
+          <tr>
+            <th>name</th>
+            <th>type</th>
+            <th>description</th>
+            <th>default</th>
+            <th>constraints</th>
+          </tr>
+          </thead>
+          <tbody>
+          <tr>
+            <td><span class="parameter-name">serviceName</span></td>
+            <td>path</td>
+            <td><span class="parameter-description"></span></td>
+            <td><span class="parameter-default-value">&nbsp;</span></td>
+            <td><span class="parameter-constraints">&nbsp;</span></td>
+          </tr>
+          <tr>
+            <td><span class="parameter-name">clusterName</span></td>
+            <td>query</td>
+            <td><span class="parameter-description"></span></td>
+            <td><span class="parameter-default-value"></span></td>
+            <td><span class="parameter-constraints">&nbsp;</span></td>
+          </tr>
+          <tr>
+            <td><span class="parameter-name">lastActivationTime</span></td>
+            <td>query</td>
+            <td><span class="parameter-description"></span></td>
+            <td><span class="parameter-default-value">0</span></td>
+            <td><span class="parameter-constraints">long</span></td>
+          </tr>
+          <tr>
+            <td><span class="parameter-name">lastKnownRoleVersion</span></td>
+            <td>query</td>
+            <td><span class="parameter-description"></span></td>
+            <td><span class="parameter-default-value">&nbsp;</span></td>
+            <td><span class="parameter-constraints">long</span></td>
+          </tr>
+          <tr>
+            <td><span class="parameter-name">pluginCapabilities</span></td>
+            <td>query</td>
+            <td><span class="parameter-description"></span></td>
+            <td><span class="parameter-default-value"></span></td>
+            <td><span class="parameter-constraints">&nbsp;</span></td>
+          </tr>
+          <tr>
+            <td><span class="parameter-name">pluginId</span></td>
+            <td>query</td>
+            <td><span class="parameter-description"></span></td>
+            <td><span class="parameter-default-value">&nbsp;</span></td>
+            <td><span class="parameter-constraints">&nbsp;</span></td>
+          </tr>
+          </tbody>
+        </table>
+
+        <table class="table resource-response-body">
+          <caption>Response Body</caption>
+          <thead>
+          <tr>
+            <th>media type</th>
+            <th>data type</th>
+            <th>description</th>
+          </tr>
+          </thead>
+          <tbody>
+          <tr>
+            <td><abbr data-toggle="tooltip" data-placement="top" title="Use the &quot;Accept: application/json&quot; HTTP header to request that this media type be provided by the server."><span class="response-type">application/json</span></abbr></td>
+            <td><span class="datatype-reference"><a href="json_RangerRoles.html">RangerRoles</a>
+ (JSON)</span></td>
+            <td rowspan="2" class="multi-row-description"><span class="response-description"></span></td>
+          </tr>
+          <tr>
+            <td><abbr data-toggle="tooltip" data-placement="top" title="Use the &quot;Accept: application/xml&quot; HTTP header to request that this media type be provided by the server."><span class="response-type">application/xml</span></abbr></td>
+            <td><span class="datatype-reference"><a href="xml_ns0_rangerRoles.html">rangerRoles</a>
+ (XML)</span></td>
+          </tr>
+          </tbody>
+        </table>
+        <h4>Example</h4>
+
+        <div class="container-fluid example panel">
+          <div class="row panel-body">
+            <div class="col-md-6">
+              <h5>Request</h5>
+              <pre>
+GET /roles/secure/download/{serviceName}
+Content-Type: */*
+Accept: application/json
+
+                <code class="prettyprint language-txt">
+...
+                </code>
+              </pre>
+            </div>
+            <div class="col-md-6">
+              <h5>Response</h5>
+              <pre>
+HTTP/1.1 200 OK
+Content-Type: application/json
+
+                <code class="prettyprint language-js">
+{
+  &quot;roleVersion&quot; : 12345,
+  &quot;serviceName&quot; : &quot;...&quot;,
+  &quot;roleUpdateTime&quot; : 12345,
+  &quot;rangerRoles&quot; : [ {
+    &quot;createdByUser&quot; : &quot;...&quot;,
+    &quot;groups&quot; : [ {
+      &quot;name&quot; : &quot;...&quot;,
+      &quot;isAdmin&quot; : true
+    }, {
+      &quot;name&quot; : &quot;...&quot;,
+      &quot;isAdmin&quot; : true
+    } ],
+    &quot;users&quot; : [ {
+      &quot;name&quot; : &quot;...&quot;,
+      &quot;isAdmin&quot; : true
+    }, {
+      &quot;name&quot; : &quot;...&quot;,
+      &quot;isAdmin&quot; : true
+    } ],
+    &quot;name&quot; : &quot;...&quot;,
+    &quot;options&quot; : {
+      &quot;property1&quot; : { },
+      &quot;property2&quot; : { }
+    },
+    &quot;description&quot; : &quot;...&quot;,
+    &quot;roles&quot; : [ {
+      &quot;name&quot; : &quot;...&quot;,
+      &quot;isAdmin&quot; : true
+    }, {
+      &quot;name&quot; : &quot;...&quot;,
+      &quot;isAdmin&quot; : true
+    } ],
+    &quot;createTime&quot; : 12345,
+    &quot;id&quot; : 12345,
+    &quot;updatedBy&quot; : &quot;...&quot;,
+    &quot;version&quot; : 12345,
+    &quot;createdBy&quot; : &quot;...&quot;,
+    &quot;guid&quot; : &quot;...&quot;,
+    &quot;updateTime&quot; : 12345,
+    &quot;isEnabled&quot; : true
+  }, {
+    &quot;createdByUser&quot; : &quot;...&quot;,
+    &quot;groups&quot; : [ {
+      &quot;name&quot; : &quot;...&quot;,
+      &quot;isAdmin&quot; : true
+    }, {
+      &quot;name&quot; : &quot;...&quot;,
+      &quot;isAdmin&quot; : true
+    } ],
+    &quot;users&quot; : [ {
+      &quot;name&quot; : &quot;...&quot;,
+      &quot;isAdmin&quot; : true
+    }, {
+      &quot;name&quot; : &quot;...&quot;,
+      &quot;isAdmin&quot; : true
+    } ],
+    &quot;name&quot; : &quot;...&quot;,
+    &quot;options&quot; : {
+      &quot;property1&quot; : { },
+      &quot;property2&quot; : { }
+    },
+    &quot;description&quot; : &quot;...&quot;,
+    &quot;roles&quot; : [ {
+      &quot;name&quot; : &quot;...&quot;,
+      &quot;isAdmin&quot; : true
+    }, {
+      &quot;name&quot; : &quot;...&quot;,
+      &quot;isAdmin&quot; : true
+    } ],
+    &quot;createTime&quot; : 12345,
+    &quot;id&quot; : 12345,
+    &quot;updatedBy&quot; : &quot;...&quot;,
+    &quot;version&quot; : 12345,
+    &quot;createdBy&quot; : &quot;...&quot;,
+    &quot;guid&quot; : &quot;...&quot;,
+    &quot;updateTime&quot; : 12345,
+    &quot;isEnabled&quot; : true
+  } ]
+}
+                </code>
+              </pre>
             </div>
           </div>
         </div>

Modified: ranger/site/trunk/apidocs/resource_SecurityZoneREST.html
URL: http://svn.apache.org/viewvc/ranger/site/trunk/apidocs/resource_SecurityZoneREST.html?rev=1894763&r1=1894762&r2=1894763&view=diff
==============================================================================
--- ranger/site/trunk/apidocs/resource_SecurityZoneREST.html (original)
+++ ranger/site/trunk/apidocs/resource_SecurityZoneREST.html Fri Nov  5 18:32:04 2021
@@ -126,13 +126,12 @@ Content-Type: application/json
                 <code class="prettyprint language-js">
 {
   &quot;securityZones&quot; : [ {
-    &quot;auditUserGroups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
+    &quot;tagServices&quot; : [ &quot;...&quot;, &quot;...&quot; ],
     &quot;description&quot; : &quot;...&quot;,
     &quot;auditUsers&quot; : [ &quot;...&quot;, &quot;...&quot; ],
     &quot;adminUserGroups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
-    &quot;name&quot; : &quot;...&quot;,
     &quot;adminUsers&quot; : [ &quot;...&quot;, &quot;...&quot; ],
-    &quot;tagServices&quot; : [ &quot;...&quot;, &quot;...&quot; ],
+    &quot;name&quot; : &quot;...&quot;,
     &quot;services&quot; : {
       &quot;property1&quot; : {
         &quot;resources&quot; : [ {
@@ -153,22 +152,22 @@ Content-Type: application/json
         } ]
       }
     },
+    &quot;auditUserGroups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
     &quot;createTime&quot; : 12345,
+    &quot;id&quot; : 12345,
     &quot;updatedBy&quot; : &quot;...&quot;,
     &quot;version&quot; : 12345,
-    &quot;updateTime&quot; : 12345,
-    &quot;id&quot; : 12345,
     &quot;createdBy&quot; : &quot;...&quot;,
     &quot;guid&quot; : &quot;...&quot;,
+    &quot;updateTime&quot; : 12345,
     &quot;isEnabled&quot; : true
   }, {
-    &quot;auditUserGroups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
+    &quot;tagServices&quot; : [ &quot;...&quot;, &quot;...&quot; ],
     &quot;description&quot; : &quot;...&quot;,
     &quot;auditUsers&quot; : [ &quot;...&quot;, &quot;...&quot; ],
     &quot;adminUserGroups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
-    &quot;name&quot; : &quot;...&quot;,
     &quot;adminUsers&quot; : [ &quot;...&quot;, &quot;...&quot; ],
-    &quot;tagServices&quot; : [ &quot;...&quot;, &quot;...&quot; ],
+    &quot;name&quot; : &quot;...&quot;,
     &quot;services&quot; : {
       &quot;property1&quot; : {
         &quot;resources&quot; : [ {
@@ -189,13 +188,14 @@ Content-Type: application/json
         } ]
       }
     },
+    &quot;auditUserGroups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
     &quot;createTime&quot; : 12345,
+    &quot;id&quot; : 12345,
     &quot;updatedBy&quot; : &quot;...&quot;,
     &quot;version&quot; : 12345,
-    &quot;updateTime&quot; : 12345,
-    &quot;id&quot; : 12345,
     &quot;createdBy&quot; : &quot;...&quot;,
     &quot;guid&quot; : &quot;...&quot;,
+    &quot;updateTime&quot; : 12345,
     &quot;isEnabled&quot; : true
   } ],
   &quot;listSize&quot; : 12345,
@@ -277,13 +277,12 @@ Accept: application/json
 
                 <code class="prettyprint language-js">
 {
-  &quot;auditUserGroups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
+  &quot;tagServices&quot; : [ &quot;...&quot;, &quot;...&quot; ],
   &quot;description&quot; : &quot;...&quot;,
   &quot;auditUsers&quot; : [ &quot;...&quot;, &quot;...&quot; ],
   &quot;adminUserGroups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
-  &quot;name&quot; : &quot;...&quot;,
   &quot;adminUsers&quot; : [ &quot;...&quot;, &quot;...&quot; ],
-  &quot;tagServices&quot; : [ &quot;...&quot;, &quot;...&quot; ],
+  &quot;name&quot; : &quot;...&quot;,
   &quot;services&quot; : {
     &quot;property1&quot; : {
       &quot;resources&quot; : [ {
@@ -304,13 +303,14 @@ Accept: application/json
       } ]
     }
   },
+  &quot;auditUserGroups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
   &quot;createTime&quot; : 12345,
+  &quot;id&quot; : 12345,
   &quot;updatedBy&quot; : &quot;...&quot;,
   &quot;version&quot; : 12345,
-  &quot;updateTime&quot; : 12345,
-  &quot;id&quot; : 12345,
   &quot;createdBy&quot; : &quot;...&quot;,
   &quot;guid&quot; : &quot;...&quot;,
+  &quot;updateTime&quot; : 12345,
   &quot;isEnabled&quot; : true
 }
                 </code>
@@ -324,13 +324,12 @@ Content-Type: application/json
 
                 <code class="prettyprint language-js">
 {
-  &quot;auditUserGroups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
+  &quot;tagServices&quot; : [ &quot;...&quot;, &quot;...&quot; ],
   &quot;description&quot; : &quot;...&quot;,
   &quot;auditUsers&quot; : [ &quot;...&quot;, &quot;...&quot; ],
   &quot;adminUserGroups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
-  &quot;name&quot; : &quot;...&quot;,
   &quot;adminUsers&quot; : [ &quot;...&quot;, &quot;...&quot; ],
-  &quot;tagServices&quot; : [ &quot;...&quot;, &quot;...&quot; ],
+  &quot;name&quot; : &quot;...&quot;,
   &quot;services&quot; : {
     &quot;property1&quot; : {
       &quot;resources&quot; : [ {
@@ -351,13 +350,14 @@ Content-Type: application/json
       } ]
     }
   },
+  &quot;auditUserGroups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
   &quot;createTime&quot; : 12345,
+  &quot;id&quot; : 12345,
   &quot;updatedBy&quot; : &quot;...&quot;,
   &quot;version&quot; : 12345,
-  &quot;updateTime&quot; : 12345,
-  &quot;id&quot; : 12345,
   &quot;createdBy&quot; : &quot;...&quot;,
   &quot;guid&quot; : &quot;...&quot;,
+  &quot;updateTime&quot; : 12345,
   &quot;isEnabled&quot; : true
 }
                 </code>
@@ -489,13 +489,12 @@ Content-Type: application/json
 
                 <code class="prettyprint language-js">
 {
-  &quot;auditUserGroups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
+  &quot;tagServices&quot; : [ &quot;...&quot;, &quot;...&quot; ],
   &quot;description&quot; : &quot;...&quot;,
   &quot;auditUsers&quot; : [ &quot;...&quot;, &quot;...&quot; ],
   &quot;adminUserGroups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
-  &quot;name&quot; : &quot;...&quot;,
   &quot;adminUsers&quot; : [ &quot;...&quot;, &quot;...&quot; ],
-  &quot;tagServices&quot; : [ &quot;...&quot;, &quot;...&quot; ],
+  &quot;name&quot; : &quot;...&quot;,
   &quot;services&quot; : {
     &quot;property1&quot; : {
       &quot;resources&quot; : [ {
@@ -516,13 +515,14 @@ Content-Type: application/json
       } ]
     }
   },
+  &quot;auditUserGroups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
   &quot;createTime&quot; : 12345,
+  &quot;id&quot; : 12345,
   &quot;updatedBy&quot; : &quot;...&quot;,
   &quot;version&quot; : 12345,
-  &quot;updateTime&quot; : 12345,
-  &quot;id&quot; : 12345,
   &quot;createdBy&quot; : &quot;...&quot;,
   &quot;guid&quot; : &quot;...&quot;,
+  &quot;updateTime&quot; : 12345,
   &quot;isEnabled&quot; : true
 }
                 </code>
@@ -615,13 +615,12 @@ Accept: application/json
 
                 <code class="prettyprint language-js">
 {
-  &quot;auditUserGroups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
+  &quot;tagServices&quot; : [ &quot;...&quot;, &quot;...&quot; ],
   &quot;description&quot; : &quot;...&quot;,
   &quot;auditUsers&quot; : [ &quot;...&quot;, &quot;...&quot; ],
   &quot;adminUserGroups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
-  &quot;name&quot; : &quot;...&quot;,
   &quot;adminUsers&quot; : [ &quot;...&quot;, &quot;...&quot; ],
-  &quot;tagServices&quot; : [ &quot;...&quot;, &quot;...&quot; ],
+  &quot;name&quot; : &quot;...&quot;,
   &quot;services&quot; : {
     &quot;property1&quot; : {
       &quot;resources&quot; : [ {
@@ -642,13 +641,14 @@ Accept: application/json
       } ]
     }
   },
+  &quot;auditUserGroups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
   &quot;createTime&quot; : 12345,
+  &quot;id&quot; : 12345,
   &quot;updatedBy&quot; : &quot;...&quot;,
   &quot;version&quot; : 12345,
-  &quot;updateTime&quot; : 12345,
-  &quot;id&quot; : 12345,
   &quot;createdBy&quot; : &quot;...&quot;,
   &quot;guid&quot; : &quot;...&quot;,
+  &quot;updateTime&quot; : 12345,
   &quot;isEnabled&quot; : true
 }
                 </code>
@@ -662,13 +662,12 @@ Content-Type: application/json
 
                 <code class="prettyprint language-js">
 {
-  &quot;auditUserGroups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
+  &quot;tagServices&quot; : [ &quot;...&quot;, &quot;...&quot; ],
   &quot;description&quot; : &quot;...&quot;,
   &quot;auditUsers&quot; : [ &quot;...&quot;, &quot;...&quot; ],
   &quot;adminUserGroups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
-  &quot;name&quot; : &quot;...&quot;,
   &quot;adminUsers&quot; : [ &quot;...&quot;, &quot;...&quot; ],
-  &quot;tagServices&quot; : [ &quot;...&quot;, &quot;...&quot; ],
+  &quot;name&quot; : &quot;...&quot;,
   &quot;services&quot; : {
     &quot;property1&quot; : {
       &quot;resources&quot; : [ {
@@ -689,13 +688,14 @@ Content-Type: application/json
       } ]
     }
   },
+  &quot;auditUserGroups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
   &quot;createTime&quot; : 12345,
+  &quot;id&quot; : 12345,
   &quot;updatedBy&quot; : &quot;...&quot;,
   &quot;version&quot; : 12345,
-  &quot;updateTime&quot; : 12345,
-  &quot;id&quot; : 12345,
   &quot;createdBy&quot; : &quot;...&quot;,
   &quot;guid&quot; : &quot;...&quot;,
+  &quot;updateTime&quot; : 12345,
   &quot;isEnabled&quot; : true
 }
                 </code>
@@ -823,13 +823,12 @@ Content-Type: application/json
 
                 <code class="prettyprint language-js">
 {
-  &quot;auditUserGroups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
+  &quot;tagServices&quot; : [ &quot;...&quot;, &quot;...&quot; ],
   &quot;description&quot; : &quot;...&quot;,
   &quot;auditUsers&quot; : [ &quot;...&quot;, &quot;...&quot; ],
   &quot;adminUserGroups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
-  &quot;name&quot; : &quot;...&quot;,
   &quot;adminUsers&quot; : [ &quot;...&quot;, &quot;...&quot; ],
-  &quot;tagServices&quot; : [ &quot;...&quot;, &quot;...&quot; ],
+  &quot;name&quot; : &quot;...&quot;,
   &quot;services&quot; : {
     &quot;property1&quot; : {
       &quot;resources&quot; : [ {
@@ -850,13 +849,14 @@ Content-Type: application/json
       } ]
     }
   },
+  &quot;auditUserGroups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
   &quot;createTime&quot; : 12345,
+  &quot;id&quot; : 12345,
   &quot;updatedBy&quot; : &quot;...&quot;,
   &quot;version&quot; : 12345,
-  &quot;updateTime&quot; : 12345,
-  &quot;id&quot; : 12345,
   &quot;createdBy&quot; : &quot;...&quot;,
   &quot;guid&quot; : &quot;...&quot;,
+  &quot;updateTime&quot; : 12345,
   &quot;isEnabled&quot; : true
 }
                 </code>