blob: c047d558ab3e95ae43a3b308a10e1f46a72b7010 [file] [log] [blame]
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>Ranger REST API: ServiceREST</title>
<!-- Mobile viewport optimized: j.mp/bplateviewport -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Bootstrap core CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
<!--custom css for these pages-->
<link rel="stylesheet" href="css/enunciate.css">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body data-spy="scroll" data-target="#apinav">
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="index.html">Ranger REST API: ServiceREST</a>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav navbar-right">
<li><a href="resources.html">Resources</a></li>
<li><a href="data.html">Data Types</a></li>
</ul>
</div>
</div>
</nav>
<div class="container-fluid">
<div class="row">
<div class="col-sm-3 col-md-2 sidebar" id="apinav">
<ul class="nav nav-sidebar">
<li><a href="#resource_ServiceREST_checkSSO_GET"><abbr title="GET /plugins/checksso"><span class="sideoverflow">GET /plugins/checksso</span></abbr></a></li>
<li><a href="#resource_ServiceREST_getCSRFProperties_GET"><abbr title="GET /plugins/csrfconf"><span class="sideoverflow">GET /plugins/csrfconf</span></abbr></a></li>
<li><a href="#resource_ServiceREST_getServiceDefs_GET"><abbr title="GET /plugins/definitions"><span class="sideoverflow">GET /plugins/definitions</span></abbr></a></li>
<li><a href="#resource_ServiceREST_createServiceDef_POST"><abbr title="POST /plugins/definitions"><span class="sideoverflow">POST /plugins/definitions</span></abbr></a></li>
<li><a href="#resource_ServiceREST_getPolicies_GET"><abbr title="GET /plugins/policies"><span class="sideoverflow">GET /plugins/policies</span></abbr></a></li>
<li><a href="#resource_ServiceREST_createPolicy_POST"><abbr title="POST /plugins/policies"><span class="sideoverflow">POST /plugins/policies</span></abbr></a></li>
<li><a href="#resource_ServiceREST_getPolicyLabels_GET"><abbr title="GET /plugins/policyLabels"><span class="sideoverflow">GET /plugins/policyLabels</span></abbr></a></li>
<li><a href="#resource_ServiceREST_getServices_GET"><abbr title="GET /plugins/services"><span class="sideoverflow">GET /plugins/services</span></abbr></a></li>
<li><a href="#resource_ServiceREST_createService_POST"><abbr title="POST /plugins/services"><span class="sideoverflow">POST /plugins/services</span></abbr></a></li>
<li><a href="#resource_ServiceREST_deleteClusterServices_DELETE"><abbr title="DELETE /plugins/cluster-services/{clusterName}"><span class="sideoverflow">DELETE /plugins/cluster-services/{clusterName}</span></abbr></a></li>
<li><a href="#resource_ServiceREST_deleteServiceDef_DELETE"><abbr title="DELETE /plugins/definitions/{id}"><span class="sideoverflow">DELETE /plugins/definitions/{id}</span></abbr></a></li>
<li><a href="#resource_ServiceREST_getServiceDef_GET"><abbr title="GET /plugins/definitions/{id}"><span class="sideoverflow">GET /plugins/definitions/{id}</span></abbr></a></li>
<li><a href="#resource_ServiceREST_updateServiceDef_PUT"><abbr title="PUT /plugins/definitions/{id}"><span class="sideoverflow">PUT /plugins/definitions/{id}</span></abbr></a></li>
<li><a href="#resource_ServiceREST_getPluginsInfo_GET"><abbr title="GET /plugins/plugins/info"><span class="sideoverflow">GET /plugins/plugins/info</span></abbr></a></li>
<li><a href="#resource_ServiceREST_applyPolicy_POST"><abbr title="POST /plugins/policies/apply"><span class="sideoverflow">POST /plugins/policies/apply</span></abbr></a></li>
<li><a href="#resource_ServiceREST_countPolicies_GET"><abbr title="GET /plugins/policies/count"><span class="sideoverflow">GET /plugins/policies/count</span></abbr></a></li>
<li><a href="#resource_ServiceREST_getPoliciesInCsv_GET"><abbr title="GET /plugins/policies/csv"><span class="sideoverflow">GET /plugins/policies/csv</span></abbr></a></li>
<li><a href="#resource_ServiceREST_getPoliciesInExcel_GET"><abbr title="GET /plugins/policies/downloadExcel"><span class="sideoverflow">GET /plugins/policies/downloadExcel</span></abbr></a></li>
<li><a href="#resource_ServiceREST_getPolicyFromEventTime_GET"><abbr title="GET /plugins/policies/eventTime"><span class="sideoverflow">GET /plugins/policies/eventTime</span></abbr></a></li>
<li><a href="#resource_ServiceREST_getPoliciesInJson_GET"><abbr title="GET /plugins/policies/exportJson"><span class="sideoverflow">GET /plugins/policies/exportJson</span></abbr></a></li>
<li><a href="#resource_ServiceREST_importPoliciesFromFile_POST"><abbr title="POST /plugins/policies/importPoliciesFromFile"><span class="sideoverflow">POST /plugins/policies/importPoliciesFromFile</span></abbr></a></li>
<li><a href="#resource_ServiceREST_deletePolicy_DELETE"><abbr title="DELETE /plugins/policies/{id}"><span class="sideoverflow">DELETE /plugins/policies/{id}</span></abbr></a></li>
<li><a href="#resource_ServiceREST_getPolicy_GET"><abbr title="GET /plugins/policies/{id}"><span class="sideoverflow">GET /plugins/policies/{id}</span></abbr></a></li>
<li><a href="#resource_ServiceREST_updatePolicy_PUT"><abbr title="PUT /plugins/policies/{id}"><span class="sideoverflow">PUT /plugins/policies/{id}</span></abbr></a></li>
<li><a href="#resource_ServiceREST_deletePolicyDeltas_DELETE"><abbr title="DELETE /plugins/server/policydeltas"><span class="sideoverflow">DELETE /plugins/server/policydeltas</span></abbr></a></li>
<li><a href="#resource_ServiceREST_countServices_GET"><abbr title="GET /plugins/services/count"><span class="sideoverflow">GET /plugins/services/count</span></abbr></a></li>
<li><a href="#resource_ServiceREST_validateConfig_POST"><abbr title="POST /plugins/services/validateConfig"><span class="sideoverflow">POST /plugins/services/validateConfig</span></abbr></a></li>
<li><a href="#resource_ServiceREST_deleteService_DELETE"><abbr title="DELETE /plugins/services/{id}"><span class="sideoverflow">DELETE /plugins/services/{id}</span></abbr></a></li>
<li><a href="#resource_ServiceREST_getService_GET"><abbr title="GET /plugins/services/{id}"><span class="sideoverflow">GET /plugins/services/{id}</span></abbr></a></li>
<li><a href="#resource_ServiceREST_updateService_PUT"><abbr title="PUT /plugins/services/{id}"><span class="sideoverflow">PUT /plugins/services/{id}</span></abbr></a></li>
<li><a href="#resource_ServiceREST_getServiceDefByName_GET"><abbr title="GET /plugins/definitions/name/{name}"><span class="sideoverflow">GET /plugins/definitions/name/{name}</span></abbr></a></li>
<li><a href="#resource_ServiceREST_getMetricByType_GET"><abbr title="GET /plugins/metrics/type/{type}"><span class="sideoverflow">GET /plugins/metrics/type/{type}</span></abbr></a></li>
<li><a href="#resource_ServiceREST_getServicePoliciesIfUpdated_GET"><abbr title="GET /plugins/policies/download/{serviceName}"><span class="sideoverflow">GET /plugins/policies/download/{serviceName}</span></abbr></a></li>
<li><a href="#resource_ServiceREST_getServicePolicies_GET"><abbr title="GET /plugins/policies/service/{id}"><span class="sideoverflow">GET /plugins/policies/service/{id}</span></abbr></a></li>
<li><a href="#resource_ServiceREST_getPoliciesForResource_GET"><abbr title="GET /plugins/policies/{serviceDefName}/for-resource"><span class="sideoverflow">GET /plugins/policies/{serviceDefName}/for-resource</span></abbr></a></li>
<li><a href="#resource_ServiceREST_getPolicyVersionList_GET"><abbr title="GET /plugins/policy/{policyId}/versionList"><span class="sideoverflow">GET /plugins/policy/{policyId}/versionList</span></abbr></a></li>
<li><a href="#resource_ServiceREST_purgeEmptyPolicies_DELETE"><abbr title="DELETE /plugins/server/purgepolicies/{serviceName}"><span class="sideoverflow">DELETE /plugins/server/purgepolicies/{serviceName}</span></abbr></a></li>
<li><a href="#resource_ServiceREST_grantAccess_POST"><abbr title="POST /plugins/services/grant/{serviceName}"><span class="sideoverflow">POST /plugins/services/grant/{serviceName}</span></abbr></a></li>
<li><a href="#resource_ServiceREST_lookupResource_POST"><abbr title="POST /plugins/services/lookupResource/{serviceName}"><span class="sideoverflow">POST /plugins/services/lookupResource/{serviceName}</span></abbr></a></li>
<li><a href="#resource_ServiceREST_getServiceByName_GET"><abbr title="GET /plugins/services/name/{name}"><span class="sideoverflow">GET /plugins/services/name/{name}</span></abbr></a></li>
<li><a href="#resource_ServiceREST_revokeAccess_POST"><abbr title="POST /plugins/services/revoke/{serviceName}"><span class="sideoverflow">POST /plugins/services/revoke/{serviceName}</span></abbr></a></li>
<li><a href="#resource_ServiceREST_getServicePoliciesByName_GET"><abbr title="GET /plugins/policies/service/name/{name}"><span class="sideoverflow">GET /plugins/policies/service/name/{name}</span></abbr></a></li>
<li><a href="#resource_ServiceREST_getPolicyForVersionNumber_GET"><abbr title="GET /plugins/policy/{policyId}/version/{versionNo}"><span class="sideoverflow">GET /plugins/policy/{policyId}/version/{versionNo}</span></abbr></a></li>
<li><a href="#resource_ServiceREST_getSecureServicePoliciesIfUpdated_GET"><abbr title="GET /plugins/secure/policies/download/{serviceName}"><span class="sideoverflow">GET /plugins/secure/policies/download/{serviceName}</span></abbr></a></li>
<li><a href="#resource_ServiceREST_secureGrantAccess_POST"><abbr title="POST /plugins/secure/services/grant/{serviceName}"><span class="sideoverflow">POST /plugins/secure/services/grant/{serviceName}</span></abbr></a></li>
<li><a href="#resource_ServiceREST_secureRevokeAccess_POST"><abbr title="POST /plugins/secure/services/revoke/{serviceName}"><span class="sideoverflow">POST /plugins/secure/services/revoke/{serviceName}</span></abbr></a></li>
<li class="divider"></li>
<li class="text-right"><a href="#top"><small>Back to Top</small></a></li>
</ul>
</div>
<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
<ol class="breadcrumb" id="top">
<li class="active dropdown"><a href="index.html">Home</a></li>
<li class="active dropdown"><a href="resources.html">Resources</a></li>
<li class="dropdown"><a href="resource_ServiceREST.html">ServiceREST</a></li>
</ol>
<h1 class="page-header">ServiceREST <small>Resource</small></h1>
<p></p>
<div id="resource_ServiceREST_checkSSO_GET">
<h3><span class="label label-default resource-method">GET</span> <span class="resource-path">/plugins/checksso <a href="../plugins/checksso" 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: text/plain&quot; HTTP header to request that this media type be provided by the server."><span class="response-type">text/plain</span></abbr></td>
<td><span class="datatype-reference">(custom)
</span></td>
<td><span class="response-description"></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 /plugins/checksso
Content-Type: */*
Accept: text/plain
<code class="prettyprint language-txt">
...
</code>
</pre>
</div>
<div class="col-md-6">
<h5>Response</h5>
<pre>
HTTP/1.1 200 OK
Content-Type: text/plain
<code class="prettyprint language-txt">
...
</code>
</pre>
</div>
</div>
</div>
</div>
<div id="resource_ServiceREST_getCSRFProperties_GET">
<h3><span class="label label-default resource-method">GET</span> <span class="resource-path">/plugins/csrfconf <a href="../plugins/csrfconf" 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">map of object
(JSON)</span></td>
<td><span class="response-description"></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 /plugins/csrfconf
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-txt">
...
</code>
</pre>
</div>
</div>
</div>
</div>
<div id="resource_ServiceREST_getServiceDefs_GET">
<h3><span class="label label-default resource-method">GET</span> <span class="resource-path">/plugins/definitions <a href="../plugins/definitions" 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_RangerServiceDefList.html">RangerServiceDefList</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_rangerServiceDefList.html">rangerServiceDefList</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 /plugins/definitions
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;serviceDefs&quot; : [ {
&quot;accessTypes&quot; : [ {
&quot;impliedGrants&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;name&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;rbKeyLabel&quot; : &quot;...&quot;
}, {
&quot;impliedGrants&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;name&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;rbKeyLabel&quot; : &quot;...&quot;
} ],
&quot;label&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;dataMaskDef&quot; : {
&quot;maskTypes&quot; : [ { }, { } ],
&quot;accessTypes&quot; : [ { }, { } ],
&quot;resources&quot; : [ { }, { } ]
},
&quot;resources&quot; : [ {
&quot;recursiveSupported&quot; : true,
&quot;label&quot; : &quot;...&quot;,
&quot;excludesSupported&quot; : true,
&quot;parent&quot; : &quot;...&quot;,
&quot;matcher&quot; : &quot;...&quot;,
&quot;type&quot; : &quot;...&quot;,
&quot;accessTypeRestrictions&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;lookupSupported&quot; : true,
&quot;isValidLeaf&quot; : true,
&quot;matcherOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;name&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;mandatory&quot; : true,
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;level&quot; : 12345,
&quot;itemId&quot; : 12345,
&quot;uiHint&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;rbKeyDescription&quot; : &quot;...&quot;
}, {
&quot;recursiveSupported&quot; : true,
&quot;label&quot; : &quot;...&quot;,
&quot;excludesSupported&quot; : true,
&quot;parent&quot; : &quot;...&quot;,
&quot;matcher&quot; : &quot;...&quot;,
&quot;type&quot; : &quot;...&quot;,
&quot;accessTypeRestrictions&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;lookupSupported&quot; : true,
&quot;isValidLeaf&quot; : true,
&quot;matcherOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;name&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;mandatory&quot; : true,
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;level&quot; : 12345,
&quot;itemId&quot; : 12345,
&quot;uiHint&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;rbKeyDescription&quot; : &quot;...&quot;
} ],
&quot;options&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;rowFilterDef&quot; : {
&quot;accessTypes&quot; : [ { }, { } ],
&quot;resources&quot; : [ { }, { } ]
},
&quot;description&quot; : &quot;...&quot;,
&quot;policyConditions&quot; : [ {
&quot;uiHint&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;name&quot; : &quot;...&quot;,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;evaluatorOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;evaluator&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;rbKeyDescription&quot; : &quot;...&quot;
}, {
&quot;uiHint&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;name&quot; : &quot;...&quot;,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;evaluatorOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;evaluator&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;rbKeyDescription&quot; : &quot;...&quot;
} ],
&quot;implClass&quot; : &quot;...&quot;,
&quot;displayName&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;,
&quot;contextEnrichers&quot; : [ {
&quot;name&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;enricherOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;enricher&quot; : &quot;...&quot;
}, {
&quot;name&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;enricherOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;enricher&quot; : &quot;...&quot;
} ],
&quot;enums&quot; : [ {
&quot;name&quot; : &quot;...&quot;,
&quot;defaultIndex&quot; : 12345,
&quot;elements&quot; : [ { }, { } ],
&quot;itemId&quot; : 12345
}, {
&quot;name&quot; : &quot;...&quot;,
&quot;defaultIndex&quot; : 12345,
&quot;elements&quot; : [ { }, { } ],
&quot;itemId&quot; : 12345
} ],
&quot;rbKeyDescription&quot; : &quot;...&quot;,
&quot;configs&quot; : [ {
&quot;rbKeyDescription&quot; : &quot;...&quot;,
&quot;subType&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;defaultValue&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;mandatory&quot; : true,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;type&quot; : &quot;...&quot;,
&quot;uiHint&quot; : &quot;...&quot;
}, {
&quot;rbKeyDescription&quot; : &quot;...&quot;,
&quot;subType&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;defaultValue&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;mandatory&quot; : true,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;type&quot; : &quot;...&quot;,
&quot;uiHint&quot; : &quot;...&quot;
} ],
&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;accessTypes&quot; : [ {
&quot;impliedGrants&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;name&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;rbKeyLabel&quot; : &quot;...&quot;
}, {
&quot;impliedGrants&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;name&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;rbKeyLabel&quot; : &quot;...&quot;
} ],
&quot;label&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;dataMaskDef&quot; : {
&quot;maskTypes&quot; : [ { }, { } ],
&quot;accessTypes&quot; : [ { }, { } ],
&quot;resources&quot; : [ { }, { } ]
},
&quot;resources&quot; : [ {
&quot;recursiveSupported&quot; : true,
&quot;label&quot; : &quot;...&quot;,
&quot;excludesSupported&quot; : true,
&quot;parent&quot; : &quot;...&quot;,
&quot;matcher&quot; : &quot;...&quot;,
&quot;type&quot; : &quot;...&quot;,
&quot;accessTypeRestrictions&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;lookupSupported&quot; : true,
&quot;isValidLeaf&quot; : true,
&quot;matcherOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;name&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;mandatory&quot; : true,
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;level&quot; : 12345,
&quot;itemId&quot; : 12345,
&quot;uiHint&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;rbKeyDescription&quot; : &quot;...&quot;
}, {
&quot;recursiveSupported&quot; : true,
&quot;label&quot; : &quot;...&quot;,
&quot;excludesSupported&quot; : true,
&quot;parent&quot; : &quot;...&quot;,
&quot;matcher&quot; : &quot;...&quot;,
&quot;type&quot; : &quot;...&quot;,
&quot;accessTypeRestrictions&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;lookupSupported&quot; : true,
&quot;isValidLeaf&quot; : true,
&quot;matcherOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;name&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;mandatory&quot; : true,
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;level&quot; : 12345,
&quot;itemId&quot; : 12345,
&quot;uiHint&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;rbKeyDescription&quot; : &quot;...&quot;
} ],
&quot;options&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;rowFilterDef&quot; : {
&quot;accessTypes&quot; : [ { }, { } ],
&quot;resources&quot; : [ { }, { } ]
},
&quot;description&quot; : &quot;...&quot;,
&quot;policyConditions&quot; : [ {
&quot;uiHint&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;name&quot; : &quot;...&quot;,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;evaluatorOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;evaluator&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;rbKeyDescription&quot; : &quot;...&quot;
}, {
&quot;uiHint&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;name&quot; : &quot;...&quot;,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;evaluatorOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;evaluator&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;rbKeyDescription&quot; : &quot;...&quot;
} ],
&quot;implClass&quot; : &quot;...&quot;,
&quot;displayName&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;,
&quot;contextEnrichers&quot; : [ {
&quot;name&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;enricherOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;enricher&quot; : &quot;...&quot;
}, {
&quot;name&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;enricherOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;enricher&quot; : &quot;...&quot;
} ],
&quot;enums&quot; : [ {
&quot;name&quot; : &quot;...&quot;,
&quot;defaultIndex&quot; : 12345,
&quot;elements&quot; : [ { }, { } ],
&quot;itemId&quot; : 12345
}, {
&quot;name&quot; : &quot;...&quot;,
&quot;defaultIndex&quot; : 12345,
&quot;elements&quot; : [ { }, { } ],
&quot;itemId&quot; : 12345
} ],
&quot;rbKeyDescription&quot; : &quot;...&quot;,
&quot;configs&quot; : [ {
&quot;rbKeyDescription&quot; : &quot;...&quot;,
&quot;subType&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;defaultValue&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;mandatory&quot; : true,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;type&quot; : &quot;...&quot;,
&quot;uiHint&quot; : &quot;...&quot;
}, {
&quot;rbKeyDescription&quot; : &quot;...&quot;,
&quot;subType&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;defaultValue&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;mandatory&quot; : true,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;type&quot; : &quot;...&quot;,
&quot;uiHint&quot; : &quot;...&quot;
} ],
&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_ServiceREST_createServiceDef_POST">
<h3><span class="label label-default resource-method">POST</span> <span class="resource-path">/plugins/definitions <a href="../plugins/definitions" class="glyphicon glyphicon-new-window" target="_blank"></a></span></h3>
<p></p>
<table class="table resource-request-body">
<caption>Request Body</caption>
<thead>
<tr>
<th>media type</th>
<th>data type</th>
</tr>
</thead>
<tbody>
<tr>
<td><abbr data-toggle="tooltip" data-placement="top" title="Use the &quot;Content-Type: application/json&quot; HTTP header to specify this media type to the server."><span class="request-type">application/json</span></abbr></td>
<td><span class="datatype-reference"><a href="json_RangerServiceDef.html">RangerServiceDef</a>
(JSON)</span></td>
</tr>
<tr>
<td><abbr data-toggle="tooltip" data-placement="top" title="Use the &quot;Content-Type: application/xml&quot; HTTP header to specify this media type to the server."><span class="request-type">application/xml</span></abbr></td>
<td><span class="datatype-reference"><a href="xml_ns0_rangerServiceDef.html">rangerServiceDef</a>
(XML)</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_RangerServiceDef.html">RangerServiceDef</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_rangerServiceDef.html">rangerServiceDef</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>
POST /plugins/definitions
Content-Type: application/json
Accept: application/json
<code class="prettyprint language-js">
{
&quot;accessTypes&quot; : [ {
&quot;impliedGrants&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;name&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;rbKeyLabel&quot; : &quot;...&quot;
}, {
&quot;impliedGrants&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;name&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;rbKeyLabel&quot; : &quot;...&quot;
} ],
&quot;label&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;dataMaskDef&quot; : {
&quot;maskTypes&quot; : [ {
&quot;itemId&quot; : 12345,
&quot;rbKeyDescription&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;dataMaskOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;description&quot; : &quot;...&quot;,
&quot;transformer&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;
}, {
&quot;itemId&quot; : 12345,
&quot;rbKeyDescription&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;dataMaskOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;description&quot; : &quot;...&quot;,
&quot;transformer&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;
} ],
&quot;accessTypes&quot; : [ {
&quot;impliedGrants&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;name&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;rbKeyLabel&quot; : &quot;...&quot;
}, {
&quot;impliedGrants&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;name&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;rbKeyLabel&quot; : &quot;...&quot;
} ],
&quot;resources&quot; : [ {
&quot;recursiveSupported&quot; : true,
&quot;label&quot; : &quot;...&quot;,
&quot;excludesSupported&quot; : true,
&quot;parent&quot; : &quot;...&quot;,
&quot;matcher&quot; : &quot;...&quot;,
&quot;type&quot; : &quot;...&quot;,
&quot;accessTypeRestrictions&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;lookupSupported&quot; : true,
&quot;isValidLeaf&quot; : true,
&quot;matcherOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;name&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;mandatory&quot; : true,
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;level&quot; : 12345,
&quot;itemId&quot; : 12345,
&quot;uiHint&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;rbKeyDescription&quot; : &quot;...&quot;
}, {
&quot;recursiveSupported&quot; : true,
&quot;label&quot; : &quot;...&quot;,
&quot;excludesSupported&quot; : true,
&quot;parent&quot; : &quot;...&quot;,
&quot;matcher&quot; : &quot;...&quot;,
&quot;type&quot; : &quot;...&quot;,
&quot;accessTypeRestrictions&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;lookupSupported&quot; : true,
&quot;isValidLeaf&quot; : true,
&quot;matcherOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;name&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;mandatory&quot; : true,
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;level&quot; : 12345,
&quot;itemId&quot; : 12345,
&quot;uiHint&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;rbKeyDescription&quot; : &quot;...&quot;
} ]
},
&quot;resources&quot; : [ {
&quot;recursiveSupported&quot; : true,
&quot;label&quot; : &quot;...&quot;,
&quot;excludesSupported&quot; : true,
&quot;parent&quot; : &quot;...&quot;,
&quot;matcher&quot; : &quot;...&quot;,
&quot;type&quot; : &quot;...&quot;,
&quot;accessTypeRestrictions&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;lookupSupported&quot; : true,
&quot;isValidLeaf&quot; : true,
&quot;matcherOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;name&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;mandatory&quot; : true,
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;level&quot; : 12345,
&quot;itemId&quot; : 12345,
&quot;uiHint&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;rbKeyDescription&quot; : &quot;...&quot;
}, {
&quot;recursiveSupported&quot; : true,
&quot;label&quot; : &quot;...&quot;,
&quot;excludesSupported&quot; : true,
&quot;parent&quot; : &quot;...&quot;,
&quot;matcher&quot; : &quot;...&quot;,
&quot;type&quot; : &quot;...&quot;,
&quot;accessTypeRestrictions&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;lookupSupported&quot; : true,
&quot;isValidLeaf&quot; : true,
&quot;matcherOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;name&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;mandatory&quot; : true,
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;level&quot; : 12345,
&quot;itemId&quot; : 12345,
&quot;uiHint&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;rbKeyDescription&quot; : &quot;...&quot;
} ],
&quot;options&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;rowFilterDef&quot; : {
&quot;accessTypes&quot; : [ {
&quot;impliedGrants&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;name&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;rbKeyLabel&quot; : &quot;...&quot;
}, {
&quot;impliedGrants&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;name&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;rbKeyLabel&quot; : &quot;...&quot;
} ],
&quot;resources&quot; : [ {
&quot;recursiveSupported&quot; : true,
&quot;label&quot; : &quot;...&quot;,
&quot;excludesSupported&quot; : true,
&quot;parent&quot; : &quot;...&quot;,
&quot;matcher&quot; : &quot;...&quot;,
&quot;type&quot; : &quot;...&quot;,
&quot;accessTypeRestrictions&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;lookupSupported&quot; : true,
&quot;isValidLeaf&quot; : true,
&quot;matcherOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;name&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;mandatory&quot; : true,
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;level&quot; : 12345,
&quot;itemId&quot; : 12345,
&quot;uiHint&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;rbKeyDescription&quot; : &quot;...&quot;
}, {
&quot;recursiveSupported&quot; : true,
&quot;label&quot; : &quot;...&quot;,
&quot;excludesSupported&quot; : true,
&quot;parent&quot; : &quot;...&quot;,
&quot;matcher&quot; : &quot;...&quot;,
&quot;type&quot; : &quot;...&quot;,
&quot;accessTypeRestrictions&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;lookupSupported&quot; : true,
&quot;isValidLeaf&quot; : true,
&quot;matcherOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;name&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;mandatory&quot; : true,
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;level&quot; : 12345,
&quot;itemId&quot; : 12345,
&quot;uiHint&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;rbKeyDescription&quot; : &quot;...&quot;
} ]
},
&quot;description&quot; : &quot;...&quot;,
&quot;policyConditions&quot; : [ {
&quot;uiHint&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;name&quot; : &quot;...&quot;,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;evaluatorOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;evaluator&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;rbKeyDescription&quot; : &quot;...&quot;
}, {
&quot;uiHint&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;name&quot; : &quot;...&quot;,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;evaluatorOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;evaluator&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;rbKeyDescription&quot; : &quot;...&quot;
} ],
&quot;implClass&quot; : &quot;...&quot;,
&quot;displayName&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;,
&quot;contextEnrichers&quot; : [ {
&quot;name&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;enricherOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;enricher&quot; : &quot;...&quot;
}, {
&quot;name&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;enricherOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;enricher&quot; : &quot;...&quot;
} ],
&quot;enums&quot; : [ {
&quot;name&quot; : &quot;...&quot;,
&quot;defaultIndex&quot; : 12345,
&quot;elements&quot; : [ {
&quot;itemId&quot; : 12345,
&quot;label&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;
}, {
&quot;itemId&quot; : 12345,
&quot;label&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;
} ],
&quot;itemId&quot; : 12345
}, {
&quot;name&quot; : &quot;...&quot;,
&quot;defaultIndex&quot; : 12345,
&quot;elements&quot; : [ {
&quot;itemId&quot; : 12345,
&quot;label&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;
}, {
&quot;itemId&quot; : 12345,
&quot;label&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;
} ],
&quot;itemId&quot; : 12345
} ],
&quot;rbKeyDescription&quot; : &quot;...&quot;,
&quot;configs&quot; : [ {
&quot;rbKeyDescription&quot; : &quot;...&quot;,
&quot;subType&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;defaultValue&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;mandatory&quot; : true,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;type&quot; : &quot;...&quot;,
&quot;uiHint&quot; : &quot;...&quot;
}, {
&quot;rbKeyDescription&quot; : &quot;...&quot;,
&quot;subType&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;defaultValue&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;mandatory&quot; : true,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;type&quot; : &quot;...&quot;,
&quot;uiHint&quot; : &quot;...&quot;
} ],
&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 class="col-md-6">
<h5>Response</h5>
<pre>
HTTP/1.1 201 Created
Content-Type: application/json
<code class="prettyprint language-js">
{
&quot;accessTypes&quot; : [ {
&quot;impliedGrants&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;name&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;rbKeyLabel&quot; : &quot;...&quot;
}, {
&quot;impliedGrants&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;name&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;rbKeyLabel&quot; : &quot;...&quot;
} ],
&quot;label&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;dataMaskDef&quot; : {
&quot;maskTypes&quot; : [ {
&quot;itemId&quot; : 12345,
&quot;rbKeyDescription&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;dataMaskOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;description&quot; : &quot;...&quot;,
&quot;transformer&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;
}, {
&quot;itemId&quot; : 12345,
&quot;rbKeyDescription&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;dataMaskOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;description&quot; : &quot;...&quot;,
&quot;transformer&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;
} ],
&quot;accessTypes&quot; : [ {
&quot;impliedGrants&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;name&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;rbKeyLabel&quot; : &quot;...&quot;
}, {
&quot;impliedGrants&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;name&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;rbKeyLabel&quot; : &quot;...&quot;
} ],
&quot;resources&quot; : [ {
&quot;recursiveSupported&quot; : true,
&quot;label&quot; : &quot;...&quot;,
&quot;excludesSupported&quot; : true,
&quot;parent&quot; : &quot;...&quot;,
&quot;matcher&quot; : &quot;...&quot;,
&quot;type&quot; : &quot;...&quot;,
&quot;accessTypeRestrictions&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;lookupSupported&quot; : true,
&quot;isValidLeaf&quot; : true,
&quot;matcherOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;name&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;mandatory&quot; : true,
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;level&quot; : 12345,
&quot;itemId&quot; : 12345,
&quot;uiHint&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;rbKeyDescription&quot; : &quot;...&quot;
}, {
&quot;recursiveSupported&quot; : true,
&quot;label&quot; : &quot;...&quot;,
&quot;excludesSupported&quot; : true,
&quot;parent&quot; : &quot;...&quot;,
&quot;matcher&quot; : &quot;...&quot;,
&quot;type&quot; : &quot;...&quot;,
&quot;accessTypeRestrictions&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;lookupSupported&quot; : true,
&quot;isValidLeaf&quot; : true,
&quot;matcherOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;name&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;mandatory&quot; : true,
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;level&quot; : 12345,
&quot;itemId&quot; : 12345,
&quot;uiHint&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;rbKeyDescription&quot; : &quot;...&quot;
} ]
},
&quot;resources&quot; : [ {
&quot;recursiveSupported&quot; : true,
&quot;label&quot; : &quot;...&quot;,
&quot;excludesSupported&quot; : true,
&quot;parent&quot; : &quot;...&quot;,
&quot;matcher&quot; : &quot;...&quot;,
&quot;type&quot; : &quot;...&quot;,
&quot;accessTypeRestrictions&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;lookupSupported&quot; : true,
&quot;isValidLeaf&quot; : true,
&quot;matcherOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;name&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;mandatory&quot; : true,
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;level&quot; : 12345,
&quot;itemId&quot; : 12345,
&quot;uiHint&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;rbKeyDescription&quot; : &quot;...&quot;
}, {
&quot;recursiveSupported&quot; : true,
&quot;label&quot; : &quot;...&quot;,
&quot;excludesSupported&quot; : true,
&quot;parent&quot; : &quot;...&quot;,
&quot;matcher&quot; : &quot;...&quot;,
&quot;type&quot; : &quot;...&quot;,
&quot;accessTypeRestrictions&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;lookupSupported&quot; : true,
&quot;isValidLeaf&quot; : true,
&quot;matcherOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;name&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;mandatory&quot; : true,
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;level&quot; : 12345,
&quot;itemId&quot; : 12345,
&quot;uiHint&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;rbKeyDescription&quot; : &quot;...&quot;
} ],
&quot;options&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;rowFilterDef&quot; : {
&quot;accessTypes&quot; : [ {
&quot;impliedGrants&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;name&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;rbKeyLabel&quot; : &quot;...&quot;
}, {
&quot;impliedGrants&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;name&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;rbKeyLabel&quot; : &quot;...&quot;
} ],
&quot;resources&quot; : [ {
&quot;recursiveSupported&quot; : true,
&quot;label&quot; : &quot;...&quot;,
&quot;excludesSupported&quot; : true,
&quot;parent&quot; : &quot;...&quot;,
&quot;matcher&quot; : &quot;...&quot;,
&quot;type&quot; : &quot;...&quot;,
&quot;accessTypeRestrictions&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;lookupSupported&quot; : true,
&quot;isValidLeaf&quot; : true,
&quot;matcherOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;name&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;mandatory&quot; : true,
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;level&quot; : 12345,
&quot;itemId&quot; : 12345,
&quot;uiHint&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;rbKeyDescription&quot; : &quot;...&quot;
}, {
&quot;recursiveSupported&quot; : true,
&quot;label&quot; : &quot;...&quot;,
&quot;excludesSupported&quot; : true,
&quot;parent&quot; : &quot;...&quot;,
&quot;matcher&quot; : &quot;...&quot;,
&quot;type&quot; : &quot;...&quot;,
&quot;accessTypeRestrictions&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;lookupSupported&quot; : true,
&quot;isValidLeaf&quot; : true,
&quot;matcherOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;name&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;mandatory&quot; : true,
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;level&quot; : 12345,
&quot;itemId&quot; : 12345,
&quot;uiHint&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;rbKeyDescription&quot; : &quot;...&quot;
} ]
},
&quot;description&quot; : &quot;...&quot;,
&quot;policyConditions&quot; : [ {
&quot;uiHint&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;name&quot; : &quot;...&quot;,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;evaluatorOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;evaluator&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;rbKeyDescription&quot; : &quot;...&quot;
}, {
&quot;uiHint&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;name&quot; : &quot;...&quot;,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;evaluatorOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;evaluator&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;rbKeyDescription&quot; : &quot;...&quot;
} ],
&quot;implClass&quot; : &quot;...&quot;,
&quot;displayName&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;,
&quot;contextEnrichers&quot; : [ {
&quot;name&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;enricherOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;enricher&quot; : &quot;...&quot;
}, {
&quot;name&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;enricherOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;enricher&quot; : &quot;...&quot;
} ],
&quot;enums&quot; : [ {
&quot;name&quot; : &quot;...&quot;,
&quot;defaultIndex&quot; : 12345,
&quot;elements&quot; : [ {
&quot;itemId&quot; : 12345,
&quot;label&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;
}, {
&quot;itemId&quot; : 12345,
&quot;label&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;
} ],
&quot;itemId&quot; : 12345
}, {
&quot;name&quot; : &quot;...&quot;,
&quot;defaultIndex&quot; : 12345,
&quot;elements&quot; : [ {
&quot;itemId&quot; : 12345,
&quot;label&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;
}, {
&quot;itemId&quot; : 12345,
&quot;label&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;
} ],
&quot;itemId&quot; : 12345
} ],
&quot;rbKeyDescription&quot; : &quot;...&quot;,
&quot;configs&quot; : [ {
&quot;rbKeyDescription&quot; : &quot;...&quot;,
&quot;subType&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;defaultValue&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;mandatory&quot; : true,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;type&quot; : &quot;...&quot;,
&quot;uiHint&quot; : &quot;...&quot;
}, {
&quot;rbKeyDescription&quot; : &quot;...&quot;,
&quot;subType&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;defaultValue&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;mandatory&quot; : true,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;type&quot; : &quot;...&quot;,
&quot;uiHint&quot; : &quot;...&quot;
} ],
&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_ServiceREST_getPolicies_GET">
<h3><span class="label label-default resource-method">GET</span> <span class="resource-path">/plugins/policies <a href="../plugins/policies" 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_RangerPolicyList.html">RangerPolicyList</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_rangerPolicyList.html">rangerPolicyList</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 /plugins/policies
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;policies&quot; : [ {
&quot;denyExceptions&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;allowExceptions&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;validitySchedules&quot; : [ {
&quot;recurrences&quot; : [ { }, { } ],
&quot;startTime&quot; : &quot;...&quot;,
&quot;timeZone&quot; : &quot;...&quot;,
&quot;endTime&quot; : &quot;...&quot;
}, {
&quot;recurrences&quot; : [ { }, { } ],
&quot;startTime&quot; : &quot;...&quot;,
&quot;timeZone&quot; : &quot;...&quot;,
&quot;endTime&quot; : &quot;...&quot;
} ],
&quot;policyPriority&quot; : 12345,
&quot;policyType&quot; : 12345,
&quot;isAuditEnabled&quot; : true,
&quot;zoneName&quot; : &quot;...&quot;,
&quot;denyPolicyItems&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;service&quot; : &quot;...&quot;,
&quot;resources&quot; : {
&quot;property1&quot; : {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;isRecursive&quot; : true,
&quot;isExcludes&quot; : true
},
&quot;property2&quot; : {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;isRecursive&quot; : true,
&quot;isExcludes&quot; : true
}
},
&quot;dataMaskPolicyItems&quot; : [ {
&quot;dataMaskInfo&quot; : { },
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;dataMaskInfo&quot; : { },
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;rowFilterPolicyItems&quot; : [ {
&quot;rowFilterInfo&quot; : { },
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;rowFilterInfo&quot; : { },
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;policyItems&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;policyLabels&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;resourceSignature&quot; : &quot;...&quot;,
&quot;isDenyAllElse&quot; : true,
&quot;name&quot; : &quot;...&quot;,
&quot;serviceType&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;options&quot; : {
&quot;property1&quot; : { },
&quot;property2&quot; : { }
},
&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;denyExceptions&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;allowExceptions&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;validitySchedules&quot; : [ {
&quot;recurrences&quot; : [ { }, { } ],
&quot;startTime&quot; : &quot;...&quot;,
&quot;timeZone&quot; : &quot;...&quot;,
&quot;endTime&quot; : &quot;...&quot;
}, {
&quot;recurrences&quot; : [ { }, { } ],
&quot;startTime&quot; : &quot;...&quot;,
&quot;timeZone&quot; : &quot;...&quot;,
&quot;endTime&quot; : &quot;...&quot;
} ],
&quot;policyPriority&quot; : 12345,
&quot;policyType&quot; : 12345,
&quot;isAuditEnabled&quot; : true,
&quot;zoneName&quot; : &quot;...&quot;,
&quot;denyPolicyItems&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;service&quot; : &quot;...&quot;,
&quot;resources&quot; : {
&quot;property1&quot; : {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;isRecursive&quot; : true,
&quot;isExcludes&quot; : true
},
&quot;property2&quot; : {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;isRecursive&quot; : true,
&quot;isExcludes&quot; : true
}
},
&quot;dataMaskPolicyItems&quot; : [ {
&quot;dataMaskInfo&quot; : { },
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;dataMaskInfo&quot; : { },
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;rowFilterPolicyItems&quot; : [ {
&quot;rowFilterInfo&quot; : { },
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;rowFilterInfo&quot; : { },
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;policyItems&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;policyLabels&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;resourceSignature&quot; : &quot;...&quot;,
&quot;isDenyAllElse&quot; : true,
&quot;name&quot; : &quot;...&quot;,
&quot;serviceType&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;options&quot; : {
&quot;property1&quot; : { },
&quot;property2&quot; : { }
},
&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_ServiceREST_createPolicy_POST">
<h3><span class="label label-default resource-method">POST</span> <span class="resource-path">/plugins/policies <a href="../plugins/policies" class="glyphicon glyphicon-new-window" target="_blank"></a></span></h3>
<p></p>
<table class="table resource-request-body">
<caption>Request Body</caption>
<thead>
<tr>
<th>media type</th>
<th>data type</th>
</tr>
</thead>
<tbody>
<tr>
<td><abbr data-toggle="tooltip" data-placement="top" title="Use the &quot;Content-Type: application/json&quot; HTTP header to specify this media type to the server."><span class="request-type">application/json</span></abbr></td>
<td><span class="datatype-reference"><a href="json_RangerPolicy.html">RangerPolicy</a>
(JSON)</span></td>
</tr>
<tr>
<td><abbr data-toggle="tooltip" data-placement="top" title="Use the &quot;Content-Type: application/xml&quot; HTTP header to specify this media type to the server."><span class="request-type">application/xml</span></abbr></td>
<td><span class="datatype-reference"><a href="xml_ns0_rangerPolicy.html">rangerPolicy</a>
(XML)</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_RangerPolicy.html">RangerPolicy</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_rangerPolicy.html">rangerPolicy</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>
POST /plugins/policies
Content-Type: application/json
Accept: application/json
<code class="prettyprint language-js">
{
&quot;denyExceptions&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;allowExceptions&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;validitySchedules&quot; : [ {
&quot;recurrences&quot; : [ {
&quot;interval&quot; : { },
&quot;schedule&quot; : { }
}, {
&quot;interval&quot; : { },
&quot;schedule&quot; : { }
} ],
&quot;startTime&quot; : &quot;...&quot;,
&quot;timeZone&quot; : &quot;...&quot;,
&quot;endTime&quot; : &quot;...&quot;
}, {
&quot;recurrences&quot; : [ {
&quot;interval&quot; : { },
&quot;schedule&quot; : { }
}, {
&quot;interval&quot; : { },
&quot;schedule&quot; : { }
} ],
&quot;startTime&quot; : &quot;...&quot;,
&quot;timeZone&quot; : &quot;...&quot;,
&quot;endTime&quot; : &quot;...&quot;
} ],
&quot;policyPriority&quot; : 12345,
&quot;policyType&quot; : 12345,
&quot;isAuditEnabled&quot; : true,
&quot;zoneName&quot; : &quot;...&quot;,
&quot;denyPolicyItems&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;service&quot; : &quot;...&quot;,
&quot;resources&quot; : {
&quot;property1&quot; : {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;isRecursive&quot; : true,
&quot;isExcludes&quot; : true
},
&quot;property2&quot; : {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;isRecursive&quot; : true,
&quot;isExcludes&quot; : true
}
},
&quot;dataMaskPolicyItems&quot; : [ {
&quot;dataMaskInfo&quot; : {
&quot;dataMaskType&quot; : &quot;...&quot;,
&quot;valueExpr&quot; : &quot;...&quot;,
&quot;conditionExpr&quot; : &quot;...&quot;
},
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;dataMaskInfo&quot; : {
&quot;dataMaskType&quot; : &quot;...&quot;,
&quot;valueExpr&quot; : &quot;...&quot;,
&quot;conditionExpr&quot; : &quot;...&quot;
},
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;rowFilterPolicyItems&quot; : [ {
&quot;rowFilterInfo&quot; : {
&quot;filterExpr&quot; : &quot;...&quot;
},
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;rowFilterInfo&quot; : {
&quot;filterExpr&quot; : &quot;...&quot;
},
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;policyItems&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;policyLabels&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;resourceSignature&quot; : &quot;...&quot;,
&quot;isDenyAllElse&quot; : true,
&quot;name&quot; : &quot;...&quot;,
&quot;serviceType&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;options&quot; : {
&quot;property1&quot; : { },
&quot;property2&quot; : { }
},
&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 class="col-md-6">
<h5>Response</h5>
<pre>
HTTP/1.1 201 Created
Content-Type: application/json
<code class="prettyprint language-js">
{
&quot;denyExceptions&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;allowExceptions&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;validitySchedules&quot; : [ {
&quot;recurrences&quot; : [ {
&quot;interval&quot; : { },
&quot;schedule&quot; : { }
}, {
&quot;interval&quot; : { },
&quot;schedule&quot; : { }
} ],
&quot;startTime&quot; : &quot;...&quot;,
&quot;timeZone&quot; : &quot;...&quot;,
&quot;endTime&quot; : &quot;...&quot;
}, {
&quot;recurrences&quot; : [ {
&quot;interval&quot; : { },
&quot;schedule&quot; : { }
}, {
&quot;interval&quot; : { },
&quot;schedule&quot; : { }
} ],
&quot;startTime&quot; : &quot;...&quot;,
&quot;timeZone&quot; : &quot;...&quot;,
&quot;endTime&quot; : &quot;...&quot;
} ],
&quot;policyPriority&quot; : 12345,
&quot;policyType&quot; : 12345,
&quot;isAuditEnabled&quot; : true,
&quot;zoneName&quot; : &quot;...&quot;,
&quot;denyPolicyItems&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;service&quot; : &quot;...&quot;,
&quot;resources&quot; : {
&quot;property1&quot; : {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;isRecursive&quot; : true,
&quot;isExcludes&quot; : true
},
&quot;property2&quot; : {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;isRecursive&quot; : true,
&quot;isExcludes&quot; : true
}
},
&quot;dataMaskPolicyItems&quot; : [ {
&quot;dataMaskInfo&quot; : {
&quot;dataMaskType&quot; : &quot;...&quot;,
&quot;valueExpr&quot; : &quot;...&quot;,
&quot;conditionExpr&quot; : &quot;...&quot;
},
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;dataMaskInfo&quot; : {
&quot;dataMaskType&quot; : &quot;...&quot;,
&quot;valueExpr&quot; : &quot;...&quot;,
&quot;conditionExpr&quot; : &quot;...&quot;
},
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;rowFilterPolicyItems&quot; : [ {
&quot;rowFilterInfo&quot; : {
&quot;filterExpr&quot; : &quot;...&quot;
},
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;rowFilterInfo&quot; : {
&quot;filterExpr&quot; : &quot;...&quot;
},
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;policyItems&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;policyLabels&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;resourceSignature&quot; : &quot;...&quot;,
&quot;isDenyAllElse&quot; : true,
&quot;name&quot; : &quot;...&quot;,
&quot;serviceType&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;options&quot; : {
&quot;property1&quot; : { },
&quot;property2&quot; : { }
},
&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_ServiceREST_getPolicyLabels_GET">
<h3><span class="label label-default resource-method">GET</span> <span class="resource-path">/plugins/policyLabels <a href="../plugins/policyLabels" 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">array of string
(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">list of string
(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 /plugins/policyLabels
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-txt">
...
</code>
</pre>
</div>
</div>
</div>
</div>
<div id="resource_ServiceREST_getServices_GET">
<h3><span class="label label-default resource-method">GET</span> <span class="resource-path">/plugins/services <a href="../plugins/services" 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_RangerServiceList.html">RangerServiceList</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_rangerServiceList.html">rangerServiceList</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 /plugins/services
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;services&quot; : [ {
&quot;policyUpdateTime&quot; : 12345,
&quot;description&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;,
&quot;type&quot; : &quot;...&quot;,
&quot;configs&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;tagVersion&quot; : 12345,
&quot;tagUpdateTime&quot; : 12345,
&quot;displayName&quot; : &quot;...&quot;,
&quot;policyVersion&quot; : 12345,
&quot;tagService&quot; : &quot;...&quot;,
&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;policyUpdateTime&quot; : 12345,
&quot;description&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;,
&quot;type&quot; : &quot;...&quot;,
&quot;configs&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;tagVersion&quot; : 12345,
&quot;tagUpdateTime&quot; : 12345,
&quot;displayName&quot; : &quot;...&quot;,
&quot;policyVersion&quot; : 12345,
&quot;tagService&quot; : &quot;...&quot;,
&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_ServiceREST_createService_POST">
<h3><span class="label label-default resource-method">POST</span> <span class="resource-path">/plugins/services <a href="../plugins/services" class="glyphicon glyphicon-new-window" target="_blank"></a></span></h3>
<p></p>
<table class="table resource-request-body">
<caption>Request Body</caption>
<thead>
<tr>
<th>media type</th>
<th>data type</th>
</tr>
</thead>
<tbody>
<tr>
<td><abbr data-toggle="tooltip" data-placement="top" title="Use the &quot;Content-Type: application/json&quot; HTTP header to specify this media type to the server."><span class="request-type">application/json</span></abbr></td>
<td><span class="datatype-reference"><a href="json_RangerService.html">RangerService</a>
(JSON)</span></td>
</tr>
<tr>
<td><abbr data-toggle="tooltip" data-placement="top" title="Use the &quot;Content-Type: application/xml&quot; HTTP header to specify this media type to the server."><span class="request-type">application/xml</span></abbr></td>
<td><span class="datatype-reference"><a href="xml_ns0_rangerService.html">rangerService</a>
(XML)</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_RangerService.html">RangerService</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_rangerService.html">rangerService</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>
POST /plugins/services
Content-Type: application/json
Accept: application/json
<code class="prettyprint language-js">
{
&quot;policyUpdateTime&quot; : 12345,
&quot;description&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;,
&quot;type&quot; : &quot;...&quot;,
&quot;configs&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;tagVersion&quot; : 12345,
&quot;tagUpdateTime&quot; : 12345,
&quot;displayName&quot; : &quot;...&quot;,
&quot;policyVersion&quot; : 12345,
&quot;tagService&quot; : &quot;...&quot;,
&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 class="col-md-6">
<h5>Response</h5>
<pre>
HTTP/1.1 201 Created
Content-Type: application/json
<code class="prettyprint language-js">
{
&quot;policyUpdateTime&quot; : 12345,
&quot;description&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;,
&quot;type&quot; : &quot;...&quot;,
&quot;configs&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;tagVersion&quot; : 12345,
&quot;tagUpdateTime&quot; : 12345,
&quot;displayName&quot; : &quot;...&quot;,
&quot;policyVersion&quot; : 12345,
&quot;tagService&quot; : &quot;...&quot;,
&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_ServiceREST_deleteClusterServices_DELETE">
<h3><span class="label label-default resource-method">DELETE</span> <span class="resource-path">/plugins/cluster-services/{clusterName} <a href="../plugins/cluster-services/{clusterName}" class="glyphicon glyphicon-new-window" target="_blank"></a></span></h3>
<p>Delete services/ repos associated with cluster.
Only users with Ranger UserAdmin OR KeyAdmin are allowed to access this API.</p>
<table class="table resource-parameters">
<caption>Request Parameters</caption>
<thead>
<tr>
<th>name</th>
<th>type</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parameter-name">clusterName</span></td>
<td>path</td>
<td><span class="parameter-description"></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_ResponseEntityOfList.html">ResponseEntityOfList</a>
(JSON)</span></td>
<td rowspan="2" class="multi-row-description"><span class="response-description">List of serviceDeleteResponse.</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_responseEntity.html">responseEntity</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>
DELETE /plugins/cluster-services/{clusterName}
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 204 No Content
Content-Type: application/json
<code class="prettyprint language-js">
{
&quot;statusCodeValue&quot; : 12345,
&quot;statusCode&quot; : &quot;UNSUPPORTED_MEDIA_TYPE&quot;,
&quot;headers&quot; : {
&quot;property1&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;property2&quot; : [ &quot;...&quot;, &quot;...&quot; ]
},
&quot;body&quot; : { }
}
</code>
</pre>
</div>
</div>
</div>
</div>
<div id="resource_ServiceREST_deleteServiceDef_DELETE">
<h3><span class="label label-default resource-method">DELETE</span> <span class="resource-path">/plugins/definitions/{id} <a href="../plugins/definitions/{id}" 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>constraints</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parameter-name">id</span></td>
<td>path</td>
<td><span class="parameter-description"></span></td>
<td><span class="parameter-constraints">long</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>
DELETE /plugins/definitions/{id}
Content-Type: */*
<code class="prettyprint language-txt">
...
</code>
</pre>
</div>
<div class="col-md-6">
<h5>Response</h5>
<pre>
HTTP/1.1 204 No Content
</pre>
</div>
</div>
</div>
</div>
<div id="resource_ServiceREST_getServiceDef_GET">
<h3><span class="label label-default resource-method">GET</span> <span class="resource-path">/plugins/definitions/{id} <a href="../plugins/definitions/{id}" 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>constraints</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parameter-name">id</span></td>
<td>path</td>
<td><span class="parameter-description"></span></td>
<td><span class="parameter-constraints">long</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_RangerServiceDef.html">RangerServiceDef</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_rangerServiceDef.html">rangerServiceDef</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 /plugins/definitions/{id}
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;accessTypes&quot; : [ {
&quot;impliedGrants&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;name&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;rbKeyLabel&quot; : &quot;...&quot;
}, {
&quot;impliedGrants&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;name&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;rbKeyLabel&quot; : &quot;...&quot;
} ],
&quot;label&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;dataMaskDef&quot; : {
&quot;maskTypes&quot; : [ {
&quot;itemId&quot; : 12345,
&quot;rbKeyDescription&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;dataMaskOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;description&quot; : &quot;...&quot;,
&quot;transformer&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;
}, {
&quot;itemId&quot; : 12345,
&quot;rbKeyDescription&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;dataMaskOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;description&quot; : &quot;...&quot;,
&quot;transformer&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;
} ],
&quot;accessTypes&quot; : [ {
&quot;impliedGrants&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;name&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;rbKeyLabel&quot; : &quot;...&quot;
}, {
&quot;impliedGrants&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;name&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;rbKeyLabel&quot; : &quot;...&quot;
} ],
&quot;resources&quot; : [ {
&quot;recursiveSupported&quot; : true,
&quot;label&quot; : &quot;...&quot;,
&quot;excludesSupported&quot; : true,
&quot;parent&quot; : &quot;...&quot;,
&quot;matcher&quot; : &quot;...&quot;,
&quot;type&quot; : &quot;...&quot;,
&quot;accessTypeRestrictions&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;lookupSupported&quot; : true,
&quot;isValidLeaf&quot; : true,
&quot;matcherOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;name&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;mandatory&quot; : true,
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;level&quot; : 12345,
&quot;itemId&quot; : 12345,
&quot;uiHint&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;rbKeyDescription&quot; : &quot;...&quot;
}, {
&quot;recursiveSupported&quot; : true,
&quot;label&quot; : &quot;...&quot;,
&quot;excludesSupported&quot; : true,
&quot;parent&quot; : &quot;...&quot;,
&quot;matcher&quot; : &quot;...&quot;,
&quot;type&quot; : &quot;...&quot;,
&quot;accessTypeRestrictions&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;lookupSupported&quot; : true,
&quot;isValidLeaf&quot; : true,
&quot;matcherOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;name&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;mandatory&quot; : true,
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;level&quot; : 12345,
&quot;itemId&quot; : 12345,
&quot;uiHint&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;rbKeyDescription&quot; : &quot;...&quot;
} ]
},
&quot;resources&quot; : [ {
&quot;recursiveSupported&quot; : true,
&quot;label&quot; : &quot;...&quot;,
&quot;excludesSupported&quot; : true,
&quot;parent&quot; : &quot;...&quot;,
&quot;matcher&quot; : &quot;...&quot;,
&quot;type&quot; : &quot;...&quot;,
&quot;accessTypeRestrictions&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;lookupSupported&quot; : true,
&quot;isValidLeaf&quot; : true,
&quot;matcherOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;name&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;mandatory&quot; : true,
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;level&quot; : 12345,
&quot;itemId&quot; : 12345,
&quot;uiHint&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;rbKeyDescription&quot; : &quot;...&quot;
}, {
&quot;recursiveSupported&quot; : true,
&quot;label&quot; : &quot;...&quot;,
&quot;excludesSupported&quot; : true,
&quot;parent&quot; : &quot;...&quot;,
&quot;matcher&quot; : &quot;...&quot;,
&quot;type&quot; : &quot;...&quot;,
&quot;accessTypeRestrictions&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;lookupSupported&quot; : true,
&quot;isValidLeaf&quot; : true,
&quot;matcherOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;name&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;mandatory&quot; : true,
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;level&quot; : 12345,
&quot;itemId&quot; : 12345,
&quot;uiHint&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;rbKeyDescription&quot; : &quot;...&quot;
} ],
&quot;options&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;rowFilterDef&quot; : {
&quot;accessTypes&quot; : [ {
&quot;impliedGrants&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;name&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;rbKeyLabel&quot; : &quot;...&quot;
}, {
&quot;impliedGrants&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;name&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;rbKeyLabel&quot; : &quot;...&quot;
} ],
&quot;resources&quot; : [ {
&quot;recursiveSupported&quot; : true,
&quot;label&quot; : &quot;...&quot;,
&quot;excludesSupported&quot; : true,
&quot;parent&quot; : &quot;...&quot;,
&quot;matcher&quot; : &quot;...&quot;,
&quot;type&quot; : &quot;...&quot;,
&quot;accessTypeRestrictions&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;lookupSupported&quot; : true,
&quot;isValidLeaf&quot; : true,
&quot;matcherOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;name&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;mandatory&quot; : true,
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;level&quot; : 12345,
&quot;itemId&quot; : 12345,
&quot;uiHint&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;rbKeyDescription&quot; : &quot;...&quot;
}, {
&quot;recursiveSupported&quot; : true,
&quot;label&quot; : &quot;...&quot;,
&quot;excludesSupported&quot; : true,
&quot;parent&quot; : &quot;...&quot;,
&quot;matcher&quot; : &quot;...&quot;,
&quot;type&quot; : &quot;...&quot;,
&quot;accessTypeRestrictions&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;lookupSupported&quot; : true,
&quot;isValidLeaf&quot; : true,
&quot;matcherOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;name&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;mandatory&quot; : true,
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;level&quot; : 12345,
&quot;itemId&quot; : 12345,
&quot;uiHint&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;rbKeyDescription&quot; : &quot;...&quot;
} ]
},
&quot;description&quot; : &quot;...&quot;,
&quot;policyConditions&quot; : [ {
&quot;uiHint&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;name&quot; : &quot;...&quot;,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;evaluatorOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;evaluator&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;rbKeyDescription&quot; : &quot;...&quot;
}, {
&quot;uiHint&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;name&quot; : &quot;...&quot;,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;evaluatorOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;evaluator&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;rbKeyDescription&quot; : &quot;...&quot;
} ],
&quot;implClass&quot; : &quot;...&quot;,
&quot;displayName&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;,
&quot;contextEnrichers&quot; : [ {
&quot;name&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;enricherOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;enricher&quot; : &quot;...&quot;
}, {
&quot;name&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;enricherOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;enricher&quot; : &quot;...&quot;
} ],
&quot;enums&quot; : [ {
&quot;name&quot; : &quot;...&quot;,
&quot;defaultIndex&quot; : 12345,
&quot;elements&quot; : [ {
&quot;itemId&quot; : 12345,
&quot;label&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;
}, {
&quot;itemId&quot; : 12345,
&quot;label&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;
} ],
&quot;itemId&quot; : 12345
}, {
&quot;name&quot; : &quot;...&quot;,
&quot;defaultIndex&quot; : 12345,
&quot;elements&quot; : [ {
&quot;itemId&quot; : 12345,
&quot;label&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;
}, {
&quot;itemId&quot; : 12345,
&quot;label&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;
} ],
&quot;itemId&quot; : 12345
} ],
&quot;rbKeyDescription&quot; : &quot;...&quot;,
&quot;configs&quot; : [ {
&quot;rbKeyDescription&quot; : &quot;...&quot;,
&quot;subType&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;defaultValue&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;mandatory&quot; : true,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;type&quot; : &quot;...&quot;,
&quot;uiHint&quot; : &quot;...&quot;
}, {
&quot;rbKeyDescription&quot; : &quot;...&quot;,
&quot;subType&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;defaultValue&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;mandatory&quot; : true,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;type&quot; : &quot;...&quot;,
&quot;uiHint&quot; : &quot;...&quot;
} ],
&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_ServiceREST_updateServiceDef_PUT">
<h3><span class="label label-default resource-method">PUT</span> <span class="resource-path">/plugins/definitions/{id} <a href="../plugins/definitions/{id}" class="glyphicon glyphicon-new-window" target="_blank"></a></span></h3>
<p></p>
<table class="table resource-request-body">
<caption>Request Body</caption>
<thead>
<tr>
<th>media type</th>
<th>data type</th>
</tr>
</thead>
<tbody>
<tr>
<td><abbr data-toggle="tooltip" data-placement="top" title="Use the &quot;Content-Type: application/json&quot; HTTP header to specify this media type to the server."><span class="request-type">application/json</span></abbr></td>
<td><span class="datatype-reference"><a href="json_RangerServiceDef.html">RangerServiceDef</a>
(JSON)</span></td>
</tr>
<tr>
<td><abbr data-toggle="tooltip" data-placement="top" title="Use the &quot;Content-Type: application/xml&quot; HTTP header to specify this media type to the server."><span class="request-type">application/xml</span></abbr></td>
<td><span class="datatype-reference"><a href="xml_ns0_rangerServiceDef.html">rangerServiceDef</a>
(XML)</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_RangerServiceDef.html">RangerServiceDef</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_rangerServiceDef.html">rangerServiceDef</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>
PUT /plugins/definitions/{id}
Content-Type: application/json
Accept: application/json
<code class="prettyprint language-js">
{
&quot;accessTypes&quot; : [ {
&quot;impliedGrants&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;name&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;rbKeyLabel&quot; : &quot;...&quot;
}, {
&quot;impliedGrants&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;name&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;rbKeyLabel&quot; : &quot;...&quot;
} ],
&quot;label&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;dataMaskDef&quot; : {
&quot;maskTypes&quot; : [ {
&quot;itemId&quot; : 12345,
&quot;rbKeyDescription&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;dataMaskOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;description&quot; : &quot;...&quot;,
&quot;transformer&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;
}, {
&quot;itemId&quot; : 12345,
&quot;rbKeyDescription&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;dataMaskOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;description&quot; : &quot;...&quot;,
&quot;transformer&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;
} ],
&quot;accessTypes&quot; : [ {
&quot;impliedGrants&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;name&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;rbKeyLabel&quot; : &quot;...&quot;
}, {
&quot;impliedGrants&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;name&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;rbKeyLabel&quot; : &quot;...&quot;
} ],
&quot;resources&quot; : [ {
&quot;recursiveSupported&quot; : true,
&quot;label&quot; : &quot;...&quot;,
&quot;excludesSupported&quot; : true,
&quot;parent&quot; : &quot;...&quot;,
&quot;matcher&quot; : &quot;...&quot;,
&quot;type&quot; : &quot;...&quot;,
&quot;accessTypeRestrictions&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;lookupSupported&quot; : true,
&quot;isValidLeaf&quot; : true,
&quot;matcherOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;name&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;mandatory&quot; : true,
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;level&quot; : 12345,
&quot;itemId&quot; : 12345,
&quot;uiHint&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;rbKeyDescription&quot; : &quot;...&quot;
}, {
&quot;recursiveSupported&quot; : true,
&quot;label&quot; : &quot;...&quot;,
&quot;excludesSupported&quot; : true,
&quot;parent&quot; : &quot;...&quot;,
&quot;matcher&quot; : &quot;...&quot;,
&quot;type&quot; : &quot;...&quot;,
&quot;accessTypeRestrictions&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;lookupSupported&quot; : true,
&quot;isValidLeaf&quot; : true,
&quot;matcherOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;name&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;mandatory&quot; : true,
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;level&quot; : 12345,
&quot;itemId&quot; : 12345,
&quot;uiHint&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;rbKeyDescription&quot; : &quot;...&quot;
} ]
},
&quot;resources&quot; : [ {
&quot;recursiveSupported&quot; : true,
&quot;label&quot; : &quot;...&quot;,
&quot;excludesSupported&quot; : true,
&quot;parent&quot; : &quot;...&quot;,
&quot;matcher&quot; : &quot;...&quot;,
&quot;type&quot; : &quot;...&quot;,
&quot;accessTypeRestrictions&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;lookupSupported&quot; : true,
&quot;isValidLeaf&quot; : true,
&quot;matcherOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;name&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;mandatory&quot; : true,
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;level&quot; : 12345,
&quot;itemId&quot; : 12345,
&quot;uiHint&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;rbKeyDescription&quot; : &quot;...&quot;
}, {
&quot;recursiveSupported&quot; : true,
&quot;label&quot; : &quot;...&quot;,
&quot;excludesSupported&quot; : true,
&quot;parent&quot; : &quot;...&quot;,
&quot;matcher&quot; : &quot;...&quot;,
&quot;type&quot; : &quot;...&quot;,
&quot;accessTypeRestrictions&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;lookupSupported&quot; : true,
&quot;isValidLeaf&quot; : true,
&quot;matcherOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;name&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;mandatory&quot; : true,
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;level&quot; : 12345,
&quot;itemId&quot; : 12345,
&quot;uiHint&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;rbKeyDescription&quot; : &quot;...&quot;
} ],
&quot;options&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;rowFilterDef&quot; : {
&quot;accessTypes&quot; : [ {
&quot;impliedGrants&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;name&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;rbKeyLabel&quot; : &quot;...&quot;
}, {
&quot;impliedGrants&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;name&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;rbKeyLabel&quot; : &quot;...&quot;
} ],
&quot;resources&quot; : [ {
&quot;recursiveSupported&quot; : true,
&quot;label&quot; : &quot;...&quot;,
&quot;excludesSupported&quot; : true,
&quot;parent&quot; : &quot;...&quot;,
&quot;matcher&quot; : &quot;...&quot;,
&quot;type&quot; : &quot;...&quot;,
&quot;accessTypeRestrictions&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;lookupSupported&quot; : true,
&quot;isValidLeaf&quot; : true,
&quot;matcherOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;name&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;mandatory&quot; : true,
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;level&quot; : 12345,
&quot;itemId&quot; : 12345,
&quot;uiHint&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;rbKeyDescription&quot; : &quot;...&quot;
}, {
&quot;recursiveSupported&quot; : true,
&quot;label&quot; : &quot;...&quot;,
&quot;excludesSupported&quot; : true,
&quot;parent&quot; : &quot;...&quot;,
&quot;matcher&quot; : &quot;...&quot;,
&quot;type&quot; : &quot;...&quot;,
&quot;accessTypeRestrictions&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;lookupSupported&quot; : true,
&quot;isValidLeaf&quot; : true,
&quot;matcherOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;name&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;mandatory&quot; : true,
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;level&quot; : 12345,
&quot;itemId&quot; : 12345,
&quot;uiHint&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;rbKeyDescription&quot; : &quot;...&quot;
} ]
},
&quot;description&quot; : &quot;...&quot;,
&quot;policyConditions&quot; : [ {
&quot;uiHint&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;name&quot; : &quot;...&quot;,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;evaluatorOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;evaluator&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;rbKeyDescription&quot; : &quot;...&quot;
}, {
&quot;uiHint&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;name&quot; : &quot;...&quot;,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;evaluatorOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;evaluator&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;rbKeyDescription&quot; : &quot;...&quot;
} ],
&quot;implClass&quot; : &quot;...&quot;,
&quot;displayName&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;,
&quot;contextEnrichers&quot; : [ {
&quot;name&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;enricherOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;enricher&quot; : &quot;...&quot;
}, {
&quot;name&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;enricherOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;enricher&quot; : &quot;...&quot;
} ],
&quot;enums&quot; : [ {
&quot;name&quot; : &quot;...&quot;,
&quot;defaultIndex&quot; : 12345,
&quot;elements&quot; : [ {
&quot;itemId&quot; : 12345,
&quot;label&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;
}, {
&quot;itemId&quot; : 12345,
&quot;label&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;
} ],
&quot;itemId&quot; : 12345
}, {
&quot;name&quot; : &quot;...&quot;,
&quot;defaultIndex&quot; : 12345,
&quot;elements&quot; : [ {
&quot;itemId&quot; : 12345,
&quot;label&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;
}, {
&quot;itemId&quot; : 12345,
&quot;label&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;
} ],
&quot;itemId&quot; : 12345
} ],
&quot;rbKeyDescription&quot; : &quot;...&quot;,
&quot;configs&quot; : [ {
&quot;rbKeyDescription&quot; : &quot;...&quot;,
&quot;subType&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;defaultValue&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;mandatory&quot; : true,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;type&quot; : &quot;...&quot;,
&quot;uiHint&quot; : &quot;...&quot;
}, {
&quot;rbKeyDescription&quot; : &quot;...&quot;,
&quot;subType&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;defaultValue&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;mandatory&quot; : true,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;type&quot; : &quot;...&quot;,
&quot;uiHint&quot; : &quot;...&quot;
} ],
&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 class="col-md-6">
<h5>Response</h5>
<pre>
HTTP/1.1 204 No Content
Content-Type: application/json
<code class="prettyprint language-js">
{
&quot;accessTypes&quot; : [ {
&quot;impliedGrants&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;name&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;rbKeyLabel&quot; : &quot;...&quot;
}, {
&quot;impliedGrants&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;name&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;rbKeyLabel&quot; : &quot;...&quot;
} ],
&quot;label&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;dataMaskDef&quot; : {
&quot;maskTypes&quot; : [ {
&quot;itemId&quot; : 12345,
&quot;rbKeyDescription&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;dataMaskOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;description&quot; : &quot;...&quot;,
&quot;transformer&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;
}, {
&quot;itemId&quot; : 12345,
&quot;rbKeyDescription&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;dataMaskOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;description&quot; : &quot;...&quot;,
&quot;transformer&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;
} ],
&quot;accessTypes&quot; : [ {
&quot;impliedGrants&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;name&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;rbKeyLabel&quot; : &quot;...&quot;
}, {
&quot;impliedGrants&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;name&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;rbKeyLabel&quot; : &quot;...&quot;
} ],
&quot;resources&quot; : [ {
&quot;recursiveSupported&quot; : true,
&quot;label&quot; : &quot;...&quot;,
&quot;excludesSupported&quot; : true,
&quot;parent&quot; : &quot;...&quot;,
&quot;matcher&quot; : &quot;...&quot;,
&quot;type&quot; : &quot;...&quot;,
&quot;accessTypeRestrictions&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;lookupSupported&quot; : true,
&quot;isValidLeaf&quot; : true,
&quot;matcherOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;name&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;mandatory&quot; : true,
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;level&quot; : 12345,
&quot;itemId&quot; : 12345,
&quot;uiHint&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;rbKeyDescription&quot; : &quot;...&quot;
}, {
&quot;recursiveSupported&quot; : true,
&quot;label&quot; : &quot;...&quot;,
&quot;excludesSupported&quot; : true,
&quot;parent&quot; : &quot;...&quot;,
&quot;matcher&quot; : &quot;...&quot;,
&quot;type&quot; : &quot;...&quot;,
&quot;accessTypeRestrictions&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;lookupSupported&quot; : true,
&quot;isValidLeaf&quot; : true,
&quot;matcherOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;name&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;mandatory&quot; : true,
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;level&quot; : 12345,
&quot;itemId&quot; : 12345,
&quot;uiHint&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;rbKeyDescription&quot; : &quot;...&quot;
} ]
},
&quot;resources&quot; : [ {
&quot;recursiveSupported&quot; : true,
&quot;label&quot; : &quot;...&quot;,
&quot;excludesSupported&quot; : true,
&quot;parent&quot; : &quot;...&quot;,
&quot;matcher&quot; : &quot;...&quot;,
&quot;type&quot; : &quot;...&quot;,
&quot;accessTypeRestrictions&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;lookupSupported&quot; : true,
&quot;isValidLeaf&quot; : true,
&quot;matcherOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;name&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;mandatory&quot; : true,
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;level&quot; : 12345,
&quot;itemId&quot; : 12345,
&quot;uiHint&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;rbKeyDescription&quot; : &quot;...&quot;
}, {
&quot;recursiveSupported&quot; : true,
&quot;label&quot; : &quot;...&quot;,
&quot;excludesSupported&quot; : true,
&quot;parent&quot; : &quot;...&quot;,
&quot;matcher&quot; : &quot;...&quot;,
&quot;type&quot; : &quot;...&quot;,
&quot;accessTypeRestrictions&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;lookupSupported&quot; : true,
&quot;isValidLeaf&quot; : true,
&quot;matcherOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;name&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;mandatory&quot; : true,
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;level&quot; : 12345,
&quot;itemId&quot; : 12345,
&quot;uiHint&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;rbKeyDescription&quot; : &quot;...&quot;
} ],
&quot;options&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;rowFilterDef&quot; : {
&quot;accessTypes&quot; : [ {
&quot;impliedGrants&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;name&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;rbKeyLabel&quot; : &quot;...&quot;
}, {
&quot;impliedGrants&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;name&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;rbKeyLabel&quot; : &quot;...&quot;
} ],
&quot;resources&quot; : [ {
&quot;recursiveSupported&quot; : true,
&quot;label&quot; : &quot;...&quot;,
&quot;excludesSupported&quot; : true,
&quot;parent&quot; : &quot;...&quot;,
&quot;matcher&quot; : &quot;...&quot;,
&quot;type&quot; : &quot;...&quot;,
&quot;accessTypeRestrictions&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;lookupSupported&quot; : true,
&quot;isValidLeaf&quot; : true,
&quot;matcherOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;name&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;mandatory&quot; : true,
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;level&quot; : 12345,
&quot;itemId&quot; : 12345,
&quot;uiHint&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;rbKeyDescription&quot; : &quot;...&quot;
}, {
&quot;recursiveSupported&quot; : true,
&quot;label&quot; : &quot;...&quot;,
&quot;excludesSupported&quot; : true,
&quot;parent&quot; : &quot;...&quot;,
&quot;matcher&quot; : &quot;...&quot;,
&quot;type&quot; : &quot;...&quot;,
&quot;accessTypeRestrictions&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;lookupSupported&quot; : true,
&quot;isValidLeaf&quot; : true,
&quot;matcherOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;name&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;mandatory&quot; : true,
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;level&quot; : 12345,
&quot;itemId&quot; : 12345,
&quot;uiHint&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;rbKeyDescription&quot; : &quot;...&quot;
} ]
},
&quot;description&quot; : &quot;...&quot;,
&quot;policyConditions&quot; : [ {
&quot;uiHint&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;name&quot; : &quot;...&quot;,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;evaluatorOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;evaluator&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;rbKeyDescription&quot; : &quot;...&quot;
}, {
&quot;uiHint&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;name&quot; : &quot;...&quot;,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;evaluatorOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;evaluator&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;rbKeyDescription&quot; : &quot;...&quot;
} ],
&quot;implClass&quot; : &quot;...&quot;,
&quot;displayName&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;,
&quot;contextEnrichers&quot; : [ {
&quot;name&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;enricherOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;enricher&quot; : &quot;...&quot;
}, {
&quot;name&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;enricherOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;enricher&quot; : &quot;...&quot;
} ],
&quot;enums&quot; : [ {
&quot;name&quot; : &quot;...&quot;,
&quot;defaultIndex&quot; : 12345,
&quot;elements&quot; : [ {
&quot;itemId&quot; : 12345,
&quot;label&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;
}, {
&quot;itemId&quot; : 12345,
&quot;label&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;
} ],
&quot;itemId&quot; : 12345
}, {
&quot;name&quot; : &quot;...&quot;,
&quot;defaultIndex&quot; : 12345,
&quot;elements&quot; : [ {
&quot;itemId&quot; : 12345,
&quot;label&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;
}, {
&quot;itemId&quot; : 12345,
&quot;label&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;
} ],
&quot;itemId&quot; : 12345
} ],
&quot;rbKeyDescription&quot; : &quot;...&quot;,
&quot;configs&quot; : [ {
&quot;rbKeyDescription&quot; : &quot;...&quot;,
&quot;subType&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;defaultValue&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;mandatory&quot; : true,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;type&quot; : &quot;...&quot;,
&quot;uiHint&quot; : &quot;...&quot;
}, {
&quot;rbKeyDescription&quot; : &quot;...&quot;,
&quot;subType&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;defaultValue&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;mandatory&quot; : true,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;type&quot; : &quot;...&quot;,
&quot;uiHint&quot; : &quot;...&quot;
} ],
&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_ServiceREST_getPluginsInfo_GET">
<h3><span class="label label-default resource-method">GET</span> <span class="resource-path">/plugins/plugins/info <a href="../plugins/plugins/info" 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_RangerPluginInfoList.html">RangerPluginInfoList</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_rangerPluginInfoList.html">rangerPluginInfoList</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 /plugins/plugins/info
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;pluginInfoList&quot; : [ {
&quot;info&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;serviceDisplayName&quot; : &quot;...&quot;,
&quot;id&quot; : 12345,
&quot;serviceTypeDisplayName&quot; : &quot;...&quot;,
&quot;appType&quot; : &quot;...&quot;,
&quot;hostName&quot; : &quot;...&quot;,
&quot;updateTime&quot; : 12345,
&quot;serviceName&quot; : &quot;...&quot;,
&quot;ipAddress&quot; : &quot;...&quot;,
&quot;serviceType&quot; : &quot;...&quot;,
&quot;createTime&quot; : 12345
}, {
&quot;info&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;serviceDisplayName&quot; : &quot;...&quot;,
&quot;id&quot; : 12345,
&quot;serviceTypeDisplayName&quot; : &quot;...&quot;,
&quot;appType&quot; : &quot;...&quot;,
&quot;hostName&quot; : &quot;...&quot;,
&quot;updateTime&quot; : 12345,
&quot;serviceName&quot; : &quot;...&quot;,
&quot;ipAddress&quot; : &quot;...&quot;,
&quot;serviceType&quot; : &quot;...&quot;,
&quot;createTime&quot; : 12345
} ],
&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_ServiceREST_applyPolicy_POST">
<h3><span class="label label-default resource-method">POST</span> <span class="resource-path">/plugins/policies/apply <a href="../plugins/policies/apply" class="glyphicon glyphicon-new-window" target="_blank"></a></span></h3>
<p></p>
<table class="table resource-request-body">
<caption>Request Body</caption>
<thead>
<tr>
<th>media type</th>
<th>data type</th>
</tr>
</thead>
<tbody>
<tr>
<td><abbr data-toggle="tooltip" data-placement="top" title="Use the &quot;Content-Type: application/json&quot; HTTP header to specify this media type to the server."><span class="request-type">application/json</span></abbr></td>
<td><span class="datatype-reference"><a href="json_RangerPolicy.html">RangerPolicy</a>
(JSON)</span></td>
</tr>
<tr>
<td><abbr data-toggle="tooltip" data-placement="top" title="Use the &quot;Content-Type: application/xml&quot; HTTP header to specify this media type to the server."><span class="request-type">application/xml</span></abbr></td>
<td><span class="datatype-reference"><a href="xml_ns0_rangerPolicy.html">rangerPolicy</a>
(XML)</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_RangerPolicy.html">RangerPolicy</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_rangerPolicy.html">rangerPolicy</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>
POST /plugins/policies/apply
Content-Type: application/json
Accept: application/json
<code class="prettyprint language-js">
{
&quot;denyExceptions&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;allowExceptions&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;validitySchedules&quot; : [ {
&quot;recurrences&quot; : [ {
&quot;interval&quot; : { },
&quot;schedule&quot; : { }
}, {
&quot;interval&quot; : { },
&quot;schedule&quot; : { }
} ],
&quot;startTime&quot; : &quot;...&quot;,
&quot;timeZone&quot; : &quot;...&quot;,
&quot;endTime&quot; : &quot;...&quot;
}, {
&quot;recurrences&quot; : [ {
&quot;interval&quot; : { },
&quot;schedule&quot; : { }
}, {
&quot;interval&quot; : { },
&quot;schedule&quot; : { }
} ],
&quot;startTime&quot; : &quot;...&quot;,
&quot;timeZone&quot; : &quot;...&quot;,
&quot;endTime&quot; : &quot;...&quot;
} ],
&quot;policyPriority&quot; : 12345,
&quot;policyType&quot; : 12345,
&quot;isAuditEnabled&quot; : true,
&quot;zoneName&quot; : &quot;...&quot;,
&quot;denyPolicyItems&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;service&quot; : &quot;...&quot;,
&quot;resources&quot; : {
&quot;property1&quot; : {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;isRecursive&quot; : true,
&quot;isExcludes&quot; : true
},
&quot;property2&quot; : {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;isRecursive&quot; : true,
&quot;isExcludes&quot; : true
}
},
&quot;dataMaskPolicyItems&quot; : [ {
&quot;dataMaskInfo&quot; : {
&quot;dataMaskType&quot; : &quot;...&quot;,
&quot;valueExpr&quot; : &quot;...&quot;,
&quot;conditionExpr&quot; : &quot;...&quot;
},
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;dataMaskInfo&quot; : {
&quot;dataMaskType&quot; : &quot;...&quot;,
&quot;valueExpr&quot; : &quot;...&quot;,
&quot;conditionExpr&quot; : &quot;...&quot;
},
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;rowFilterPolicyItems&quot; : [ {
&quot;rowFilterInfo&quot; : {
&quot;filterExpr&quot; : &quot;...&quot;
},
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;rowFilterInfo&quot; : {
&quot;filterExpr&quot; : &quot;...&quot;
},
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;policyItems&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;policyLabels&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;resourceSignature&quot; : &quot;...&quot;,
&quot;isDenyAllElse&quot; : true,
&quot;name&quot; : &quot;...&quot;,
&quot;serviceType&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;options&quot; : {
&quot;property1&quot; : { },
&quot;property2&quot; : { }
},
&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 class="col-md-6">
<h5>Response</h5>
<pre>
HTTP/1.1 201 Created
Content-Type: application/json
<code class="prettyprint language-js">
{
&quot;denyExceptions&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;allowExceptions&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;validitySchedules&quot; : [ {
&quot;recurrences&quot; : [ {
&quot;interval&quot; : { },
&quot;schedule&quot; : { }
}, {
&quot;interval&quot; : { },
&quot;schedule&quot; : { }
} ],
&quot;startTime&quot; : &quot;...&quot;,
&quot;timeZone&quot; : &quot;...&quot;,
&quot;endTime&quot; : &quot;...&quot;
}, {
&quot;recurrences&quot; : [ {
&quot;interval&quot; : { },
&quot;schedule&quot; : { }
}, {
&quot;interval&quot; : { },
&quot;schedule&quot; : { }
} ],
&quot;startTime&quot; : &quot;...&quot;,
&quot;timeZone&quot; : &quot;...&quot;,
&quot;endTime&quot; : &quot;...&quot;
} ],
&quot;policyPriority&quot; : 12345,
&quot;policyType&quot; : 12345,
&quot;isAuditEnabled&quot; : true,
&quot;zoneName&quot; : &quot;...&quot;,
&quot;denyPolicyItems&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;service&quot; : &quot;...&quot;,
&quot;resources&quot; : {
&quot;property1&quot; : {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;isRecursive&quot; : true,
&quot;isExcludes&quot; : true
},
&quot;property2&quot; : {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;isRecursive&quot; : true,
&quot;isExcludes&quot; : true
}
},
&quot;dataMaskPolicyItems&quot; : [ {
&quot;dataMaskInfo&quot; : {
&quot;dataMaskType&quot; : &quot;...&quot;,
&quot;valueExpr&quot; : &quot;...&quot;,
&quot;conditionExpr&quot; : &quot;...&quot;
},
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;dataMaskInfo&quot; : {
&quot;dataMaskType&quot; : &quot;...&quot;,
&quot;valueExpr&quot; : &quot;...&quot;,
&quot;conditionExpr&quot; : &quot;...&quot;
},
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;rowFilterPolicyItems&quot; : [ {
&quot;rowFilterInfo&quot; : {
&quot;filterExpr&quot; : &quot;...&quot;
},
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;rowFilterInfo&quot; : {
&quot;filterExpr&quot; : &quot;...&quot;
},
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;policyItems&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;policyLabels&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;resourceSignature&quot; : &quot;...&quot;,
&quot;isDenyAllElse&quot; : true,
&quot;name&quot; : &quot;...&quot;,
&quot;serviceType&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;options&quot; : {
&quot;property1&quot; : { },
&quot;property2&quot; : { }
},
&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_ServiceREST_countPolicies_GET">
<h3><span class="label label-default resource-method">GET</span> <span class="resource-path">/plugins/policies/count <a href="../plugins/policies/count" 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">number
(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">long
(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 /plugins/policies/count
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-txt">
...
</code>
</pre>
</div>
</div>
</div>
</div>
<div id="resource_ServiceREST_getPoliciesInCsv_GET">
<h3><span class="label label-default resource-method">GET</span> <span class="resource-path">/plugins/policies/csv <a href="../plugins/policies/csv" class="glyphicon glyphicon-new-window" target="_blank"></a></span></h3>
<p></p>
<h4>Example</h4>
<div class="container-fluid example panel">
<div class="row panel-body">
<div class="col-md-6">
<h5>Request</h5>
<pre>
GET /plugins/policies/csv
Content-Type: */*
<code class="prettyprint language-txt">
...
</code>
</pre>
</div>
<div class="col-md-6">
<h5>Response</h5>
<pre>
HTTP/1.1 200 OK
</pre>
</div>
</div>
</div>
</div>
<div id="resource_ServiceREST_getPoliciesInExcel_GET">
<h3><span class="label label-default resource-method">GET</span> <span class="resource-path">/plugins/policies/downloadExcel <a href="../plugins/policies/downloadExcel" class="glyphicon glyphicon-new-window" target="_blank"></a></span></h3>
<p></p>
<h4>Example</h4>
<div class="container-fluid example panel">
<div class="row panel-body">
<div class="col-md-6">
<h5>Request</h5>
<pre>
GET /plugins/policies/downloadExcel
Content-Type: */*
<code class="prettyprint language-txt">
...
</code>
</pre>
</div>
<div class="col-md-6">
<h5>Response</h5>
<pre>
HTTP/1.1 200 OK
</pre>
</div>
</div>
</div>
</div>
<div id="resource_ServiceREST_getPolicyFromEventTime_GET">
<h3><span class="label label-default resource-method">GET</span> <span class="resource-path">/plugins/policies/eventTime <a href="../plugins/policies/eventTime" 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_RangerPolicy.html">RangerPolicy</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_rangerPolicy.html">rangerPolicy</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 /plugins/policies/eventTime
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;denyExceptions&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;allowExceptions&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;validitySchedules&quot; : [ {
&quot;recurrences&quot; : [ {
&quot;interval&quot; : { },
&quot;schedule&quot; : { }
}, {
&quot;interval&quot; : { },
&quot;schedule&quot; : { }
} ],
&quot;startTime&quot; : &quot;...&quot;,
&quot;timeZone&quot; : &quot;...&quot;,
&quot;endTime&quot; : &quot;...&quot;
}, {
&quot;recurrences&quot; : [ {
&quot;interval&quot; : { },
&quot;schedule&quot; : { }
}, {
&quot;interval&quot; : { },
&quot;schedule&quot; : { }
} ],
&quot;startTime&quot; : &quot;...&quot;,
&quot;timeZone&quot; : &quot;...&quot;,
&quot;endTime&quot; : &quot;...&quot;
} ],
&quot;policyPriority&quot; : 12345,
&quot;policyType&quot; : 12345,
&quot;isAuditEnabled&quot; : true,
&quot;zoneName&quot; : &quot;...&quot;,
&quot;denyPolicyItems&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;service&quot; : &quot;...&quot;,
&quot;resources&quot; : {
&quot;property1&quot; : {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;isRecursive&quot; : true,
&quot;isExcludes&quot; : true
},
&quot;property2&quot; : {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;isRecursive&quot; : true,
&quot;isExcludes&quot; : true
}
},
&quot;dataMaskPolicyItems&quot; : [ {
&quot;dataMaskInfo&quot; : {
&quot;dataMaskType&quot; : &quot;...&quot;,
&quot;valueExpr&quot; : &quot;...&quot;,
&quot;conditionExpr&quot; : &quot;...&quot;
},
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;dataMaskInfo&quot; : {
&quot;dataMaskType&quot; : &quot;...&quot;,
&quot;valueExpr&quot; : &quot;...&quot;,
&quot;conditionExpr&quot; : &quot;...&quot;
},
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;rowFilterPolicyItems&quot; : [ {
&quot;rowFilterInfo&quot; : {
&quot;filterExpr&quot; : &quot;...&quot;
},
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;rowFilterInfo&quot; : {
&quot;filterExpr&quot; : &quot;...&quot;
},
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;policyItems&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;policyLabels&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;resourceSignature&quot; : &quot;...&quot;,
&quot;isDenyAllElse&quot; : true,
&quot;name&quot; : &quot;...&quot;,
&quot;serviceType&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;options&quot; : {
&quot;property1&quot; : { },
&quot;property2&quot; : { }
},
&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_ServiceREST_getPoliciesInJson_GET">
<h3><span class="label label-default resource-method">GET</span> <span class="resource-path">/plugins/policies/exportJson <a href="../plugins/policies/exportJson" 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>constraints</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parameter-name">checkPoliciesExists</span></td>
<td>query</td>
<td><span class="parameter-description"></span></td>
<td><span class="parameter-constraints">boolean</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 /plugins/policies/exportJson
Content-Type: */*
<code class="prettyprint language-txt">
...
</code>
</pre>
</div>
<div class="col-md-6">
<h5>Response</h5>
<pre>
HTTP/1.1 200 OK
</pre>
</div>
</div>
</div>
</div>
<div id="resource_ServiceREST_importPoliciesFromFile_POST">
<h3><span class="label label-default resource-method">POST</span> <span class="resource-path">/plugins/policies/importPoliciesFromFile <a href="../plugins/policies/importPoliciesFromFile" 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>constraints</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parameter-name">fileDetail</span></td>
<td>formdata</td>
<td><span class="parameter-description"></span></td>
<td><span class="parameter-constraints">&nbsp;</span></td>
</tr>
<tr>
<td><span class="parameter-name">serviceMapStream</span></td>
<td>formdata</td>
<td><span class="parameter-description"></span></td>
<td><span class="parameter-constraints">&nbsp;</span></td>
</tr>
<tr>
<td><span class="parameter-name">uploadedInputStream</span></td>
<td>formdata</td>
<td><span class="parameter-description"></span></td>
<td><span class="parameter-constraints">&nbsp;</span></td>
</tr>
<tr>
<td><span class="parameter-name">zoneMapStream</span></td>
<td>formdata</td>
<td><span class="parameter-description"></span></td>
<td><span class="parameter-constraints">&nbsp;</span></td>
</tr>
<tr>
<td><span class="parameter-name">importType</span></td>
<td>query</td>
<td><span class="parameter-description"></span></td>
<td><span class="parameter-constraints">&nbsp;</span></td>
</tr>
<tr>
<td><span class="parameter-name">isOverride</span></td>
<td>query</td>
<td><span class="parameter-description"></span></td>
<td><span class="parameter-constraints">boolean</span></td>
</tr>
</tbody>
</table>
<table class="table resource-request-body">
<caption>Request Body</caption>
<thead>
<tr>
<th>media type</th>
<th>data type</th>
</tr>
</thead>
<tbody>
<tr>
<td><abbr data-toggle="tooltip" data-placement="top" title="Use the &quot;Content-Type: application/json&quot; HTTP header to specify this media type to the server."><span class="request-type">application/json</span></abbr></td>
<td><span class="datatype-reference">(custom)
</span></td>
</tr>
<tr>
<td><abbr data-toggle="tooltip" data-placement="top" title="Use the &quot;Content-Type: multipart/form-data&quot; HTTP header to specify this media type to the server."><span class="request-type">multipart/form-data</span></abbr></td>
<td><span class="datatype-reference">(custom)
</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>
POST /plugins/policies/importPoliciesFromFile
Content-Type: application/json
<code class="prettyprint language-txt">
...
</code>
</pre>
</div>
<div class="col-md-6">
<h5>Response</h5>
<pre>
HTTP/1.1 201 Created
</pre>
</div>
</div>
</div>
</div>
<div id="resource_ServiceREST_deletePolicy_DELETE">
<h3><span class="label label-default resource-method">DELETE</span> <span class="resource-path">/plugins/policies/{id} <a href="../plugins/policies/{id}" 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>constraints</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parameter-name">id</span></td>
<td>path</td>
<td><span class="parameter-description"></span></td>
<td><span class="parameter-constraints">long</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>
DELETE /plugins/policies/{id}
Content-Type: */*
<code class="prettyprint language-txt">
...
</code>
</pre>
</div>
<div class="col-md-6">
<h5>Response</h5>
<pre>
HTTP/1.1 204 No Content
</pre>
</div>
</div>
</div>
</div>
<div id="resource_ServiceREST_getPolicy_GET">
<h3><span class="label label-default resource-method">GET</span> <span class="resource-path">/plugins/policies/{id} <a href="../plugins/policies/{id}" 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>constraints</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parameter-name">id</span></td>
<td>path</td>
<td><span class="parameter-description"></span></td>
<td><span class="parameter-constraints">long</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_RangerPolicy.html">RangerPolicy</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_rangerPolicy.html">rangerPolicy</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 /plugins/policies/{id}
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;denyExceptions&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;allowExceptions&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;validitySchedules&quot; : [ {
&quot;recurrences&quot; : [ {
&quot;interval&quot; : { },
&quot;schedule&quot; : { }
}, {
&quot;interval&quot; : { },
&quot;schedule&quot; : { }
} ],
&quot;startTime&quot; : &quot;...&quot;,
&quot;timeZone&quot; : &quot;...&quot;,
&quot;endTime&quot; : &quot;...&quot;
}, {
&quot;recurrences&quot; : [ {
&quot;interval&quot; : { },
&quot;schedule&quot; : { }
}, {
&quot;interval&quot; : { },
&quot;schedule&quot; : { }
} ],
&quot;startTime&quot; : &quot;...&quot;,
&quot;timeZone&quot; : &quot;...&quot;,
&quot;endTime&quot; : &quot;...&quot;
} ],
&quot;policyPriority&quot; : 12345,
&quot;policyType&quot; : 12345,
&quot;isAuditEnabled&quot; : true,
&quot;zoneName&quot; : &quot;...&quot;,
&quot;denyPolicyItems&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;service&quot; : &quot;...&quot;,
&quot;resources&quot; : {
&quot;property1&quot; : {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;isRecursive&quot; : true,
&quot;isExcludes&quot; : true
},
&quot;property2&quot; : {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;isRecursive&quot; : true,
&quot;isExcludes&quot; : true
}
},
&quot;dataMaskPolicyItems&quot; : [ {
&quot;dataMaskInfo&quot; : {
&quot;dataMaskType&quot; : &quot;...&quot;,
&quot;valueExpr&quot; : &quot;...&quot;,
&quot;conditionExpr&quot; : &quot;...&quot;
},
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;dataMaskInfo&quot; : {
&quot;dataMaskType&quot; : &quot;...&quot;,
&quot;valueExpr&quot; : &quot;...&quot;,
&quot;conditionExpr&quot; : &quot;...&quot;
},
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;rowFilterPolicyItems&quot; : [ {
&quot;rowFilterInfo&quot; : {
&quot;filterExpr&quot; : &quot;...&quot;
},
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;rowFilterInfo&quot; : {
&quot;filterExpr&quot; : &quot;...&quot;
},
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;policyItems&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;policyLabels&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;resourceSignature&quot; : &quot;...&quot;,
&quot;isDenyAllElse&quot; : true,
&quot;name&quot; : &quot;...&quot;,
&quot;serviceType&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;options&quot; : {
&quot;property1&quot; : { },
&quot;property2&quot; : { }
},
&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_ServiceREST_updatePolicy_PUT">
<h3><span class="label label-default resource-method">PUT</span> <span class="resource-path">/plugins/policies/{id} <a href="../plugins/policies/{id}" class="glyphicon glyphicon-new-window" target="_blank"></a></span></h3>
<p></p>
<table class="table resource-request-body">
<caption>Request Body</caption>
<thead>
<tr>
<th>media type</th>
<th>data type</th>
</tr>
</thead>
<tbody>
<tr>
<td><abbr data-toggle="tooltip" data-placement="top" title="Use the &quot;Content-Type: application/json&quot; HTTP header to specify this media type to the server."><span class="request-type">application/json</span></abbr></td>
<td><span class="datatype-reference"><a href="json_RangerPolicy.html">RangerPolicy</a>
(JSON)</span></td>
</tr>
<tr>
<td><abbr data-toggle="tooltip" data-placement="top" title="Use the &quot;Content-Type: application/xml&quot; HTTP header to specify this media type to the server."><span class="request-type">application/xml</span></abbr></td>
<td><span class="datatype-reference"><a href="xml_ns0_rangerPolicy.html">rangerPolicy</a>
(XML)</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_RangerPolicy.html">RangerPolicy</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_rangerPolicy.html">rangerPolicy</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>
PUT /plugins/policies/{id}
Content-Type: application/json
Accept: application/json
<code class="prettyprint language-js">
{
&quot;denyExceptions&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;allowExceptions&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;validitySchedules&quot; : [ {
&quot;recurrences&quot; : [ {
&quot;interval&quot; : { },
&quot;schedule&quot; : { }
}, {
&quot;interval&quot; : { },
&quot;schedule&quot; : { }
} ],
&quot;startTime&quot; : &quot;...&quot;,
&quot;timeZone&quot; : &quot;...&quot;,
&quot;endTime&quot; : &quot;...&quot;
}, {
&quot;recurrences&quot; : [ {
&quot;interval&quot; : { },
&quot;schedule&quot; : { }
}, {
&quot;interval&quot; : { },
&quot;schedule&quot; : { }
} ],
&quot;startTime&quot; : &quot;...&quot;,
&quot;timeZone&quot; : &quot;...&quot;,
&quot;endTime&quot; : &quot;...&quot;
} ],
&quot;policyPriority&quot; : 12345,
&quot;policyType&quot; : 12345,
&quot;isAuditEnabled&quot; : true,
&quot;zoneName&quot; : &quot;...&quot;,
&quot;denyPolicyItems&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;service&quot; : &quot;...&quot;,
&quot;resources&quot; : {
&quot;property1&quot; : {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;isRecursive&quot; : true,
&quot;isExcludes&quot; : true
},
&quot;property2&quot; : {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;isRecursive&quot; : true,
&quot;isExcludes&quot; : true
}
},
&quot;dataMaskPolicyItems&quot; : [ {
&quot;dataMaskInfo&quot; : {
&quot;dataMaskType&quot; : &quot;...&quot;,
&quot;valueExpr&quot; : &quot;...&quot;,
&quot;conditionExpr&quot; : &quot;...&quot;
},
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;dataMaskInfo&quot; : {
&quot;dataMaskType&quot; : &quot;...&quot;,
&quot;valueExpr&quot; : &quot;...&quot;,
&quot;conditionExpr&quot; : &quot;...&quot;
},
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;rowFilterPolicyItems&quot; : [ {
&quot;rowFilterInfo&quot; : {
&quot;filterExpr&quot; : &quot;...&quot;
},
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;rowFilterInfo&quot; : {
&quot;filterExpr&quot; : &quot;...&quot;
},
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;policyItems&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;policyLabels&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;resourceSignature&quot; : &quot;...&quot;,
&quot;isDenyAllElse&quot; : true,
&quot;name&quot; : &quot;...&quot;,
&quot;serviceType&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;options&quot; : {
&quot;property1&quot; : { },
&quot;property2&quot; : { }
},
&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 class="col-md-6">
<h5>Response</h5>
<pre>
HTTP/1.1 204 No Content
Content-Type: application/json
<code class="prettyprint language-js">
{
&quot;denyExceptions&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;allowExceptions&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;validitySchedules&quot; : [ {
&quot;recurrences&quot; : [ {
&quot;interval&quot; : { },
&quot;schedule&quot; : { }
}, {
&quot;interval&quot; : { },
&quot;schedule&quot; : { }
} ],
&quot;startTime&quot; : &quot;...&quot;,
&quot;timeZone&quot; : &quot;...&quot;,
&quot;endTime&quot; : &quot;...&quot;
}, {
&quot;recurrences&quot; : [ {
&quot;interval&quot; : { },
&quot;schedule&quot; : { }
}, {
&quot;interval&quot; : { },
&quot;schedule&quot; : { }
} ],
&quot;startTime&quot; : &quot;...&quot;,
&quot;timeZone&quot; : &quot;...&quot;,
&quot;endTime&quot; : &quot;...&quot;
} ],
&quot;policyPriority&quot; : 12345,
&quot;policyType&quot; : 12345,
&quot;isAuditEnabled&quot; : true,
&quot;zoneName&quot; : &quot;...&quot;,
&quot;denyPolicyItems&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;service&quot; : &quot;...&quot;,
&quot;resources&quot; : {
&quot;property1&quot; : {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;isRecursive&quot; : true,
&quot;isExcludes&quot; : true
},
&quot;property2&quot; : {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;isRecursive&quot; : true,
&quot;isExcludes&quot; : true
}
},
&quot;dataMaskPolicyItems&quot; : [ {
&quot;dataMaskInfo&quot; : {
&quot;dataMaskType&quot; : &quot;...&quot;,
&quot;valueExpr&quot; : &quot;...&quot;,
&quot;conditionExpr&quot; : &quot;...&quot;
},
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;dataMaskInfo&quot; : {
&quot;dataMaskType&quot; : &quot;...&quot;,
&quot;valueExpr&quot; : &quot;...&quot;,
&quot;conditionExpr&quot; : &quot;...&quot;
},
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;rowFilterPolicyItems&quot; : [ {
&quot;rowFilterInfo&quot; : {
&quot;filterExpr&quot; : &quot;...&quot;
},
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;rowFilterInfo&quot; : {
&quot;filterExpr&quot; : &quot;...&quot;
},
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;policyItems&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;policyLabels&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;resourceSignature&quot; : &quot;...&quot;,
&quot;isDenyAllElse&quot; : true,
&quot;name&quot; : &quot;...&quot;,
&quot;serviceType&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;options&quot; : {
&quot;property1&quot; : { },
&quot;property2&quot; : { }
},
&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_ServiceREST_deletePolicyDeltas_DELETE">
<h3><span class="label label-default resource-method">DELETE</span> <span class="resource-path">/plugins/server/policydeltas <a href="../plugins/server/policydeltas" 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">days</span></td>
<td>query</td>
<td><span class="parameter-description"></span></td>
<td><span class="parameter-default-value">7</span></td>
<td><span class="parameter-constraints">int</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>
DELETE /plugins/server/policydeltas
Content-Type: */*
<code class="prettyprint language-txt">
...
</code>
</pre>
</div>
<div class="col-md-6">
<h5>Response</h5>
<pre>
HTTP/1.1 204 No Content
</pre>
</div>
</div>
</div>
</div>
<div id="resource_ServiceREST_countServices_GET">
<h3><span class="label label-default resource-method">GET</span> <span class="resource-path">/plugins/services/count <a href="../plugins/services/count" 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">number
(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">long
(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 /plugins/services/count
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-txt">
...
</code>
</pre>
</div>
</div>
</div>
</div>
<div id="resource_ServiceREST_validateConfig_POST">
<h3><span class="label label-default resource-method">POST</span> <span class="resource-path">/plugins/services/validateConfig <a href="../plugins/services/validateConfig" class="glyphicon glyphicon-new-window" target="_blank"></a></span></h3>
<p></p>
<table class="table resource-request-body">
<caption>Request Body</caption>
<thead>
<tr>
<th>media type</th>
<th>data type</th>
</tr>
</thead>
<tbody>
<tr>
<td><abbr data-toggle="tooltip" data-placement="top" title="Use the &quot;Content-Type: application/json&quot; HTTP header to specify this media type to the server."><span class="request-type">application/json</span></abbr></td>
<td><span class="datatype-reference"><a href="json_RangerService.html">RangerService</a>
(JSON)</span></td>
</tr>
<tr>
<td><abbr data-toggle="tooltip" data-placement="top" title="Use the &quot;Content-Type: application/xml&quot; HTTP header to specify this media type to the server."><span class="request-type">application/xml</span></abbr></td>
<td><span class="datatype-reference"><a href="xml_ns0_rangerService.html">rangerService</a>
(XML)</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_VXResponse.html">VXResponse</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_VXResponse.html">VXResponse</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>
POST /plugins/services/validateConfig
Content-Type: application/json
Accept: application/json
<code class="prettyprint language-js">
{
&quot;policyUpdateTime&quot; : 12345,
&quot;description&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;,
&quot;type&quot; : &quot;...&quot;,
&quot;configs&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;tagVersion&quot; : 12345,
&quot;tagUpdateTime&quot; : 12345,
&quot;displayName&quot; : &quot;...&quot;,
&quot;policyVersion&quot; : 12345,
&quot;tagService&quot; : &quot;...&quot;,
&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 class="col-md-6">
<h5>Response</h5>
<pre>
HTTP/1.1 201 Created
Content-Type: application/json
<code class="prettyprint language-js">
{
&quot;statusCode&quot; : 12345,
&quot;msgDesc&quot; : &quot;...&quot;,
&quot;messageList&quot; : [ {
&quot;name&quot; : &quot;...&quot;,
&quot;rbKey&quot; : &quot;...&quot;,
&quot;message&quot; : &quot;...&quot;,
&quot;objectId&quot; : 12345,
&quot;fieldName&quot; : &quot;...&quot;,
&quot;myClassType&quot; : 12345
}, {
&quot;name&quot; : &quot;...&quot;,
&quot;rbKey&quot; : &quot;...&quot;,
&quot;message&quot; : &quot;...&quot;,
&quot;objectId&quot; : 12345,
&quot;fieldName&quot; : &quot;...&quot;,
&quot;myClassType&quot; : 12345
} ],
&quot;myClassType&quot; : 12345
}
</code>
</pre>
</div>
</div>
</div>
</div>
<div id="resource_ServiceREST_deleteService_DELETE">
<h3><span class="label label-default resource-method">DELETE</span> <span class="resource-path">/plugins/services/{id} <a href="../plugins/services/{id}" 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>constraints</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parameter-name">id</span></td>
<td>path</td>
<td><span class="parameter-description"></span></td>
<td><span class="parameter-constraints">long</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>
DELETE /plugins/services/{id}
Content-Type: */*
<code class="prettyprint language-txt">
...
</code>
</pre>
</div>
<div class="col-md-6">
<h5>Response</h5>
<pre>
HTTP/1.1 204 No Content
</pre>
</div>
</div>
</div>
</div>
<div id="resource_ServiceREST_getService_GET">
<h3><span class="label label-default resource-method">GET</span> <span class="resource-path">/plugins/services/{id} <a href="../plugins/services/{id}" 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>constraints</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parameter-name">id</span></td>
<td>path</td>
<td><span class="parameter-description"></span></td>
<td><span class="parameter-constraints">long</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_RangerService.html">RangerService</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_rangerService.html">rangerService</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 /plugins/services/{id}
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;policyUpdateTime&quot; : 12345,
&quot;description&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;,
&quot;type&quot; : &quot;...&quot;,
&quot;configs&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;tagVersion&quot; : 12345,
&quot;tagUpdateTime&quot; : 12345,
&quot;displayName&quot; : &quot;...&quot;,
&quot;policyVersion&quot; : 12345,
&quot;tagService&quot; : &quot;...&quot;,
&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_ServiceREST_updateService_PUT">
<h3><span class="label label-default resource-method">PUT</span> <span class="resource-path">/plugins/services/{id} <a href="../plugins/services/{id}" class="glyphicon glyphicon-new-window" target="_blank"></a></span></h3>
<p></p>
<table class="table resource-request-body">
<caption>Request Body</caption>
<thead>
<tr>
<th>media type</th>
<th>data type</th>
</tr>
</thead>
<tbody>
<tr>
<td><abbr data-toggle="tooltip" data-placement="top" title="Use the &quot;Content-Type: application/json&quot; HTTP header to specify this media type to the server."><span class="request-type">application/json</span></abbr></td>
<td><span class="datatype-reference"><a href="json_RangerService.html">RangerService</a>
(JSON)</span></td>
</tr>
<tr>
<td><abbr data-toggle="tooltip" data-placement="top" title="Use the &quot;Content-Type: application/xml&quot; HTTP header to specify this media type to the server."><span class="request-type">application/xml</span></abbr></td>
<td><span class="datatype-reference"><a href="xml_ns0_rangerService.html">rangerService</a>
(XML)</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_RangerService.html">RangerService</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_rangerService.html">rangerService</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>
PUT /plugins/services/{id}
Content-Type: application/json
Accept: application/json
<code class="prettyprint language-js">
{
&quot;policyUpdateTime&quot; : 12345,
&quot;description&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;,
&quot;type&quot; : &quot;...&quot;,
&quot;configs&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;tagVersion&quot; : 12345,
&quot;tagUpdateTime&quot; : 12345,
&quot;displayName&quot; : &quot;...&quot;,
&quot;policyVersion&quot; : 12345,
&quot;tagService&quot; : &quot;...&quot;,
&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 class="col-md-6">
<h5>Response</h5>
<pre>
HTTP/1.1 204 No Content
Content-Type: application/json
<code class="prettyprint language-js">
{
&quot;policyUpdateTime&quot; : 12345,
&quot;description&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;,
&quot;type&quot; : &quot;...&quot;,
&quot;configs&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;tagVersion&quot; : 12345,
&quot;tagUpdateTime&quot; : 12345,
&quot;displayName&quot; : &quot;...&quot;,
&quot;policyVersion&quot; : 12345,
&quot;tagService&quot; : &quot;...&quot;,
&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_ServiceREST_getServiceDefByName_GET">
<h3><span class="label label-default resource-method">GET</span> <span class="resource-path">/plugins/definitions/name/{name} <a href="../plugins/definitions/name/{name}" 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>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parameter-name">name</span></td>
<td>path</td>
<td><span class="parameter-description"></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_RangerServiceDef.html">RangerServiceDef</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_rangerServiceDef.html">rangerServiceDef</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 /plugins/definitions/name/{name}
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;accessTypes&quot; : [ {
&quot;impliedGrants&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;name&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;rbKeyLabel&quot; : &quot;...&quot;
}, {
&quot;impliedGrants&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;name&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;rbKeyLabel&quot; : &quot;...&quot;
} ],
&quot;label&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;dataMaskDef&quot; : {
&quot;maskTypes&quot; : [ {
&quot;itemId&quot; : 12345,
&quot;rbKeyDescription&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;dataMaskOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;description&quot; : &quot;...&quot;,
&quot;transformer&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;
}, {
&quot;itemId&quot; : 12345,
&quot;rbKeyDescription&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;dataMaskOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;description&quot; : &quot;...&quot;,
&quot;transformer&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;
} ],
&quot;accessTypes&quot; : [ {
&quot;impliedGrants&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;name&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;rbKeyLabel&quot; : &quot;...&quot;
}, {
&quot;impliedGrants&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;name&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;rbKeyLabel&quot; : &quot;...&quot;
} ],
&quot;resources&quot; : [ {
&quot;recursiveSupported&quot; : true,
&quot;label&quot; : &quot;...&quot;,
&quot;excludesSupported&quot; : true,
&quot;parent&quot; : &quot;...&quot;,
&quot;matcher&quot; : &quot;...&quot;,
&quot;type&quot; : &quot;...&quot;,
&quot;accessTypeRestrictions&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;lookupSupported&quot; : true,
&quot;isValidLeaf&quot; : true,
&quot;matcherOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;name&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;mandatory&quot; : true,
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;level&quot; : 12345,
&quot;itemId&quot; : 12345,
&quot;uiHint&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;rbKeyDescription&quot; : &quot;...&quot;
}, {
&quot;recursiveSupported&quot; : true,
&quot;label&quot; : &quot;...&quot;,
&quot;excludesSupported&quot; : true,
&quot;parent&quot; : &quot;...&quot;,
&quot;matcher&quot; : &quot;...&quot;,
&quot;type&quot; : &quot;...&quot;,
&quot;accessTypeRestrictions&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;lookupSupported&quot; : true,
&quot;isValidLeaf&quot; : true,
&quot;matcherOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;name&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;mandatory&quot; : true,
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;level&quot; : 12345,
&quot;itemId&quot; : 12345,
&quot;uiHint&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;rbKeyDescription&quot; : &quot;...&quot;
} ]
},
&quot;resources&quot; : [ {
&quot;recursiveSupported&quot; : true,
&quot;label&quot; : &quot;...&quot;,
&quot;excludesSupported&quot; : true,
&quot;parent&quot; : &quot;...&quot;,
&quot;matcher&quot; : &quot;...&quot;,
&quot;type&quot; : &quot;...&quot;,
&quot;accessTypeRestrictions&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;lookupSupported&quot; : true,
&quot;isValidLeaf&quot; : true,
&quot;matcherOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;name&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;mandatory&quot; : true,
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;level&quot; : 12345,
&quot;itemId&quot; : 12345,
&quot;uiHint&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;rbKeyDescription&quot; : &quot;...&quot;
}, {
&quot;recursiveSupported&quot; : true,
&quot;label&quot; : &quot;...&quot;,
&quot;excludesSupported&quot; : true,
&quot;parent&quot; : &quot;...&quot;,
&quot;matcher&quot; : &quot;...&quot;,
&quot;type&quot; : &quot;...&quot;,
&quot;accessTypeRestrictions&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;lookupSupported&quot; : true,
&quot;isValidLeaf&quot; : true,
&quot;matcherOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;name&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;mandatory&quot; : true,
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;level&quot; : 12345,
&quot;itemId&quot; : 12345,
&quot;uiHint&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;rbKeyDescription&quot; : &quot;...&quot;
} ],
&quot;options&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;rowFilterDef&quot; : {
&quot;accessTypes&quot; : [ {
&quot;impliedGrants&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;name&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;rbKeyLabel&quot; : &quot;...&quot;
}, {
&quot;impliedGrants&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;name&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;rbKeyLabel&quot; : &quot;...&quot;
} ],
&quot;resources&quot; : [ {
&quot;recursiveSupported&quot; : true,
&quot;label&quot; : &quot;...&quot;,
&quot;excludesSupported&quot; : true,
&quot;parent&quot; : &quot;...&quot;,
&quot;matcher&quot; : &quot;...&quot;,
&quot;type&quot; : &quot;...&quot;,
&quot;accessTypeRestrictions&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;lookupSupported&quot; : true,
&quot;isValidLeaf&quot; : true,
&quot;matcherOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;name&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;mandatory&quot; : true,
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;level&quot; : 12345,
&quot;itemId&quot; : 12345,
&quot;uiHint&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;rbKeyDescription&quot; : &quot;...&quot;
}, {
&quot;recursiveSupported&quot; : true,
&quot;label&quot; : &quot;...&quot;,
&quot;excludesSupported&quot; : true,
&quot;parent&quot; : &quot;...&quot;,
&quot;matcher&quot; : &quot;...&quot;,
&quot;type&quot; : &quot;...&quot;,
&quot;accessTypeRestrictions&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;lookupSupported&quot; : true,
&quot;isValidLeaf&quot; : true,
&quot;matcherOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;name&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;mandatory&quot; : true,
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;level&quot; : 12345,
&quot;itemId&quot; : 12345,
&quot;uiHint&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;rbKeyDescription&quot; : &quot;...&quot;
} ]
},
&quot;description&quot; : &quot;...&quot;,
&quot;policyConditions&quot; : [ {
&quot;uiHint&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;name&quot; : &quot;...&quot;,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;evaluatorOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;evaluator&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;rbKeyDescription&quot; : &quot;...&quot;
}, {
&quot;uiHint&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;name&quot; : &quot;...&quot;,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;evaluatorOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;evaluator&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;rbKeyDescription&quot; : &quot;...&quot;
} ],
&quot;implClass&quot; : &quot;...&quot;,
&quot;displayName&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;,
&quot;contextEnrichers&quot; : [ {
&quot;name&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;enricherOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;enricher&quot; : &quot;...&quot;
}, {
&quot;name&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;enricherOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;enricher&quot; : &quot;...&quot;
} ],
&quot;enums&quot; : [ {
&quot;name&quot; : &quot;...&quot;,
&quot;defaultIndex&quot; : 12345,
&quot;elements&quot; : [ {
&quot;itemId&quot; : 12345,
&quot;label&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;
}, {
&quot;itemId&quot; : 12345,
&quot;label&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;
} ],
&quot;itemId&quot; : 12345
}, {
&quot;name&quot; : &quot;...&quot;,
&quot;defaultIndex&quot; : 12345,
&quot;elements&quot; : [ {
&quot;itemId&quot; : 12345,
&quot;label&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;
}, {
&quot;itemId&quot; : 12345,
&quot;label&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;
} ],
&quot;itemId&quot; : 12345
} ],
&quot;rbKeyDescription&quot; : &quot;...&quot;,
&quot;configs&quot; : [ {
&quot;rbKeyDescription&quot; : &quot;...&quot;,
&quot;subType&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;defaultValue&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;mandatory&quot; : true,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;type&quot; : &quot;...&quot;,
&quot;uiHint&quot; : &quot;...&quot;
}, {
&quot;rbKeyDescription&quot; : &quot;...&quot;,
&quot;subType&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;defaultValue&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;mandatory&quot; : true,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;type&quot; : &quot;...&quot;,
&quot;uiHint&quot; : &quot;...&quot;
} ],
&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_ServiceREST_getMetricByType_GET">
<h3><span class="label label-default resource-method">GET</span> <span class="resource-path">/plugins/metrics/type/{type} <a href="../plugins/metrics/type/{type}" 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>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parameter-name">type</span></td>
<td>path</td>
<td><span class="parameter-description"></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">string
(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">string
(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 /plugins/metrics/type/{type}
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-txt">
...
</code>
</pre>
</div>
</div>
</div>
</div>
<div id="resource_ServiceREST_getServicePoliciesIfUpdated_GET">
<h3><span class="label label-default resource-method">GET</span> <span class="resource-path">/plugins/policies/download/{serviceName} <a href="../plugins/policies/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">lastKnownVersion</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>
<tr>
<td><span class="parameter-name">supportsPolicyDeltas</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">zoneName</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>
</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_ServicePolicies.html">ServicePolicies</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_servicePolicies.html">servicePolicies</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 /plugins/policies/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;serviceDef&quot; : {
&quot;accessTypes&quot; : [ {
&quot;impliedGrants&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;name&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;rbKeyLabel&quot; : &quot;...&quot;
}, {
&quot;impliedGrants&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;name&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;rbKeyLabel&quot; : &quot;...&quot;
} ],
&quot;label&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;dataMaskDef&quot; : {
&quot;maskTypes&quot; : [ { }, { } ],
&quot;accessTypes&quot; : [ { }, { } ],
&quot;resources&quot; : [ { }, { } ]
},
&quot;resources&quot; : [ {
&quot;recursiveSupported&quot; : true,
&quot;label&quot; : &quot;...&quot;,
&quot;excludesSupported&quot; : true,
&quot;parent&quot; : &quot;...&quot;,
&quot;matcher&quot; : &quot;...&quot;,
&quot;type&quot; : &quot;...&quot;,
&quot;accessTypeRestrictions&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;lookupSupported&quot; : true,
&quot;isValidLeaf&quot; : true,
&quot;matcherOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;name&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;mandatory&quot; : true,
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;level&quot; : 12345,
&quot;itemId&quot; : 12345,
&quot;uiHint&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;rbKeyDescription&quot; : &quot;...&quot;
}, {
&quot;recursiveSupported&quot; : true,
&quot;label&quot; : &quot;...&quot;,
&quot;excludesSupported&quot; : true,
&quot;parent&quot; : &quot;...&quot;,
&quot;matcher&quot; : &quot;...&quot;,
&quot;type&quot; : &quot;...&quot;,
&quot;accessTypeRestrictions&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;lookupSupported&quot; : true,
&quot;isValidLeaf&quot; : true,
&quot;matcherOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;name&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;mandatory&quot; : true,
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;level&quot; : 12345,
&quot;itemId&quot; : 12345,
&quot;uiHint&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;rbKeyDescription&quot; : &quot;...&quot;
} ],
&quot;options&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;rowFilterDef&quot; : {
&quot;accessTypes&quot; : [ { }, { } ],
&quot;resources&quot; : [ { }, { } ]
},
&quot;description&quot; : &quot;...&quot;,
&quot;policyConditions&quot; : [ {
&quot;uiHint&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;name&quot; : &quot;...&quot;,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;evaluatorOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;evaluator&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;rbKeyDescription&quot; : &quot;...&quot;
}, {
&quot;uiHint&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;name&quot; : &quot;...&quot;,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;evaluatorOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;evaluator&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;rbKeyDescription&quot; : &quot;...&quot;
} ],
&quot;implClass&quot; : &quot;...&quot;,
&quot;displayName&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;,
&quot;contextEnrichers&quot; : [ {
&quot;name&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;enricherOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;enricher&quot; : &quot;...&quot;
}, {
&quot;name&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;enricherOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;enricher&quot; : &quot;...&quot;
} ],
&quot;enums&quot; : [ {
&quot;name&quot; : &quot;...&quot;,
&quot;defaultIndex&quot; : 12345,
&quot;elements&quot; : [ { }, { } ],
&quot;itemId&quot; : 12345
}, {
&quot;name&quot; : &quot;...&quot;,
&quot;defaultIndex&quot; : 12345,
&quot;elements&quot; : [ { }, { } ],
&quot;itemId&quot; : 12345
} ],
&quot;rbKeyDescription&quot; : &quot;...&quot;,
&quot;configs&quot; : [ {
&quot;rbKeyDescription&quot; : &quot;...&quot;,
&quot;subType&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;defaultValue&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;mandatory&quot; : true,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;type&quot; : &quot;...&quot;,
&quot;uiHint&quot; : &quot;...&quot;
}, {
&quot;rbKeyDescription&quot; : &quot;...&quot;,
&quot;subType&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;defaultValue&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;mandatory&quot; : true,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;type&quot; : &quot;...&quot;,
&quot;uiHint&quot; : &quot;...&quot;
} ],
&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;policyUpdateTime&quot; : 12345,
&quot;serviceId&quot; : 12345,
&quot;policyDeltas&quot; : [ {
&quot;policy&quot; : {
&quot;denyExceptions&quot; : [ { }, { } ],
&quot;allowExceptions&quot; : [ { }, { } ],
&quot;validitySchedules&quot; : [ { }, { } ],
&quot;policyPriority&quot; : 12345,
&quot;policyType&quot; : 12345,
&quot;isAuditEnabled&quot; : true,
&quot;zoneName&quot; : &quot;...&quot;,
&quot;denyPolicyItems&quot; : [ { }, { } ],
&quot;service&quot; : &quot;...&quot;,
&quot;resources&quot; : {
&quot;property1&quot; : { },
&quot;property2&quot; : { }
},
&quot;dataMaskPolicyItems&quot; : [ { }, { } ],
&quot;rowFilterPolicyItems&quot; : [ { }, { } ],
&quot;policyItems&quot; : [ { }, { } ],
&quot;policyLabels&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;resourceSignature&quot; : &quot;...&quot;,
&quot;isDenyAllElse&quot; : true,
&quot;name&quot; : &quot;...&quot;,
&quot;serviceType&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;conditions&quot; : [ { }, { } ],
&quot;options&quot; : {
&quot;property1&quot; : { },
&quot;property2&quot; : { }
},
&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;changeType&quot; : 12345,
&quot;policiesVersion&quot; : 12345,
&quot;id&quot; : 12345
}, {
&quot;policy&quot; : {
&quot;denyExceptions&quot; : [ { }, { } ],
&quot;allowExceptions&quot; : [ { }, { } ],
&quot;validitySchedules&quot; : [ { }, { } ],
&quot;policyPriority&quot; : 12345,
&quot;policyType&quot; : 12345,
&quot;isAuditEnabled&quot; : true,
&quot;zoneName&quot; : &quot;...&quot;,
&quot;denyPolicyItems&quot; : [ { }, { } ],
&quot;service&quot; : &quot;...&quot;,
&quot;resources&quot; : {
&quot;property1&quot; : { },
&quot;property2&quot; : { }
},
&quot;dataMaskPolicyItems&quot; : [ { }, { } ],
&quot;rowFilterPolicyItems&quot; : [ { }, { } ],
&quot;policyItems&quot; : [ { }, { } ],
&quot;policyLabels&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;resourceSignature&quot; : &quot;...&quot;,
&quot;isDenyAllElse&quot; : true,
&quot;name&quot; : &quot;...&quot;,
&quot;serviceType&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;conditions&quot; : [ { }, { } ],
&quot;options&quot; : {
&quot;property1&quot; : { },
&quot;property2&quot; : { }
},
&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;changeType&quot; : 12345,
&quot;policiesVersion&quot; : 12345,
&quot;id&quot; : 12345
} ],
&quot;auditMode&quot; : &quot;...&quot;,
&quot;policyVersion&quot; : 12345,
&quot;tagPolicies&quot; : {
&quot;policyUpdateTime&quot; : 12345,
&quot;serviceConfig&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;policyVersion&quot; : 12345,
&quot;auditMode&quot; : &quot;...&quot;,
&quot;serviceId&quot; : 12345,
&quot;serviceName&quot; : &quot;...&quot;,
&quot;serviceDef&quot; : {
&quot;accessTypes&quot; : [ { }, { } ],
&quot;label&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;dataMaskDef&quot; : { },
&quot;resources&quot; : [ { }, { } ],
&quot;options&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;rowFilterDef&quot; : { },
&quot;description&quot; : &quot;...&quot;,
&quot;policyConditions&quot; : [ { }, { } ],
&quot;implClass&quot; : &quot;...&quot;,
&quot;displayName&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;,
&quot;contextEnrichers&quot; : [ { }, { } ],
&quot;enums&quot; : [ { }, { } ],
&quot;rbKeyDescription&quot; : &quot;...&quot;,
&quot;configs&quot; : [ { }, { } ],
&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;policies&quot; : [ {
&quot;denyExceptions&quot; : [ { }, { } ],
&quot;allowExceptions&quot; : [ { }, { } ],
&quot;validitySchedules&quot; : [ { }, { } ],
&quot;policyPriority&quot; : 12345,
&quot;policyType&quot; : 12345,
&quot;isAuditEnabled&quot; : true,
&quot;zoneName&quot; : &quot;...&quot;,
&quot;denyPolicyItems&quot; : [ { }, { } ],
&quot;service&quot; : &quot;...&quot;,
&quot;resources&quot; : {
&quot;property1&quot; : { },
&quot;property2&quot; : { }
},
&quot;dataMaskPolicyItems&quot; : [ { }, { } ],
&quot;rowFilterPolicyItems&quot; : [ { }, { } ],
&quot;policyItems&quot; : [ { }, { } ],
&quot;policyLabels&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;resourceSignature&quot; : &quot;...&quot;,
&quot;isDenyAllElse&quot; : true,
&quot;name&quot; : &quot;...&quot;,
&quot;serviceType&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;conditions&quot; : [ { }, { } ],
&quot;options&quot; : {
&quot;property1&quot; : { },
&quot;property2&quot; : { }
},
&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;denyExceptions&quot; : [ { }, { } ],
&quot;allowExceptions&quot; : [ { }, { } ],
&quot;validitySchedules&quot; : [ { }, { } ],
&quot;policyPriority&quot; : 12345,
&quot;policyType&quot; : 12345,
&quot;isAuditEnabled&quot; : true,
&quot;zoneName&quot; : &quot;...&quot;,
&quot;denyPolicyItems&quot; : [ { }, { } ],
&quot;service&quot; : &quot;...&quot;,
&quot;resources&quot; : {
&quot;property1&quot; : { },
&quot;property2&quot; : { }
},
&quot;dataMaskPolicyItems&quot; : [ { }, { } ],
&quot;rowFilterPolicyItems&quot; : [ { }, { } ],
&quot;policyItems&quot; : [ { }, { } ],
&quot;policyLabels&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;resourceSignature&quot; : &quot;...&quot;,
&quot;isDenyAllElse&quot; : true,
&quot;name&quot; : &quot;...&quot;,
&quot;serviceType&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;conditions&quot; : [ { }, { } ],
&quot;options&quot; : {
&quot;property1&quot; : { },
&quot;property2&quot; : { }
},
&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;serviceConfig&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;policies&quot; : [ {
&quot;denyExceptions&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;allowExceptions&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;validitySchedules&quot; : [ {
&quot;recurrences&quot; : [ { }, { } ],
&quot;startTime&quot; : &quot;...&quot;,
&quot;timeZone&quot; : &quot;...&quot;,
&quot;endTime&quot; : &quot;...&quot;
}, {
&quot;recurrences&quot; : [ { }, { } ],
&quot;startTime&quot; : &quot;...&quot;,
&quot;timeZone&quot; : &quot;...&quot;,
&quot;endTime&quot; : &quot;...&quot;
} ],
&quot;policyPriority&quot; : 12345,
&quot;policyType&quot; : 12345,
&quot;isAuditEnabled&quot; : true,
&quot;zoneName&quot; : &quot;...&quot;,
&quot;denyPolicyItems&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;service&quot; : &quot;...&quot;,
&quot;resources&quot; : {
&quot;property1&quot; : {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;isRecursive&quot; : true,
&quot;isExcludes&quot; : true
},
&quot;property2&quot; : {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;isRecursive&quot; : true,
&quot;isExcludes&quot; : true
}
},
&quot;dataMaskPolicyItems&quot; : [ {
&quot;dataMaskInfo&quot; : { },
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;dataMaskInfo&quot; : { },
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;rowFilterPolicyItems&quot; : [ {
&quot;rowFilterInfo&quot; : { },
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;rowFilterInfo&quot; : { },
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;policyItems&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;policyLabels&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;resourceSignature&quot; : &quot;...&quot;,
&quot;isDenyAllElse&quot; : true,
&quot;name&quot; : &quot;...&quot;,
&quot;serviceType&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;options&quot; : {
&quot;property1&quot; : { },
&quot;property2&quot; : { }
},
&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;denyExceptions&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;allowExceptions&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;validitySchedules&quot; : [ {
&quot;recurrences&quot; : [ { }, { } ],
&quot;startTime&quot; : &quot;...&quot;,
&quot;timeZone&quot; : &quot;...&quot;,
&quot;endTime&quot; : &quot;...&quot;
}, {
&quot;recurrences&quot; : [ { }, { } ],
&quot;startTime&quot; : &quot;...&quot;,
&quot;timeZone&quot; : &quot;...&quot;,
&quot;endTime&quot; : &quot;...&quot;
} ],
&quot;policyPriority&quot; : 12345,
&quot;policyType&quot; : 12345,
&quot;isAuditEnabled&quot; : true,
&quot;zoneName&quot; : &quot;...&quot;,
&quot;denyPolicyItems&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;service&quot; : &quot;...&quot;,
&quot;resources&quot; : {
&quot;property1&quot; : {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;isRecursive&quot; : true,
&quot;isExcludes&quot; : true
},
&quot;property2&quot; : {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;isRecursive&quot; : true,
&quot;isExcludes&quot; : true
}
},
&quot;dataMaskPolicyItems&quot; : [ {
&quot;dataMaskInfo&quot; : { },
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;dataMaskInfo&quot; : { },
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;rowFilterPolicyItems&quot; : [ {
&quot;rowFilterInfo&quot; : { },
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;rowFilterInfo&quot; : { },
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;policyItems&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;policyLabels&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;resourceSignature&quot; : &quot;...&quot;,
&quot;isDenyAllElse&quot; : true,
&quot;name&quot; : &quot;...&quot;,
&quot;serviceType&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;options&quot; : {
&quot;property1&quot; : { },
&quot;property2&quot; : { }
},
&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;securityZones&quot; : {
&quot;property1&quot; : {
&quot;containsAssociatedTagService&quot; : true,
&quot;policies&quot; : [ {
&quot;denyExceptions&quot; : [ { }, { } ],
&quot;allowExceptions&quot; : [ { }, { } ],
&quot;validitySchedules&quot; : [ { }, { } ],
&quot;policyPriority&quot; : 12345,
&quot;policyType&quot; : 12345,
&quot;isAuditEnabled&quot; : true,
&quot;zoneName&quot; : &quot;...&quot;,
&quot;denyPolicyItems&quot; : [ { }, { } ],
&quot;service&quot; : &quot;...&quot;,
&quot;resources&quot; : {
&quot;property1&quot; : { },
&quot;property2&quot; : { }
},
&quot;dataMaskPolicyItems&quot; : [ { }, { } ],
&quot;rowFilterPolicyItems&quot; : [ { }, { } ],
&quot;policyItems&quot; : [ { }, { } ],
&quot;policyLabels&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;resourceSignature&quot; : &quot;...&quot;,
&quot;isDenyAllElse&quot; : true,
&quot;name&quot; : &quot;...&quot;,
&quot;serviceType&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;conditions&quot; : [ { }, { } ],
&quot;options&quot; : {
&quot;property1&quot; : { },
&quot;property2&quot; : { }
},
&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;denyExceptions&quot; : [ { }, { } ],
&quot;allowExceptions&quot; : [ { }, { } ],
&quot;validitySchedules&quot; : [ { }, { } ],
&quot;policyPriority&quot; : 12345,
&quot;policyType&quot; : 12345,
&quot;isAuditEnabled&quot; : true,
&quot;zoneName&quot; : &quot;...&quot;,
&quot;denyPolicyItems&quot; : [ { }, { } ],
&quot;service&quot; : &quot;...&quot;,
&quot;resources&quot; : {
&quot;property1&quot; : { },
&quot;property2&quot; : { }
},
&quot;dataMaskPolicyItems&quot; : [ { }, { } ],
&quot;rowFilterPolicyItems&quot; : [ { }, { } ],
&quot;policyItems&quot; : [ { }, { } ],
&quot;policyLabels&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;resourceSignature&quot; : &quot;...&quot;,
&quot;isDenyAllElse&quot; : true,
&quot;name&quot; : &quot;...&quot;,
&quot;serviceType&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;conditions&quot; : [ { }, { } ],
&quot;options&quot; : {
&quot;property1&quot; : { },
&quot;property2&quot; : { }
},
&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;resources&quot; : [ {
&quot;property1&quot; : [ ],
&quot;property2&quot; : [ ]
}, {
&quot;property1&quot; : [ ],
&quot;property2&quot; : [ ]
} ],
&quot;policyDeltas&quot; : [ {
&quot;policy&quot; : { },
&quot;changeType&quot; : 12345,
&quot;policiesVersion&quot; : 12345,
&quot;id&quot; : 12345
}, {
&quot;policy&quot; : { },
&quot;changeType&quot; : 12345,
&quot;policiesVersion&quot; : 12345,
&quot;id&quot; : 12345
} ],
&quot;zoneName&quot; : &quot;...&quot;
},
&quot;property2&quot; : {
&quot;containsAssociatedTagService&quot; : true,
&quot;policies&quot; : [ {
&quot;denyExceptions&quot; : [ { }, { } ],
&quot;allowExceptions&quot; : [ { }, { } ],
&quot;validitySchedules&quot; : [ { }, { } ],
&quot;policyPriority&quot; : 12345,
&quot;policyType&quot; : 12345,
&quot;isAuditEnabled&quot; : true,
&quot;zoneName&quot; : &quot;...&quot;,
&quot;denyPolicyItems&quot; : [ { }, { } ],
&quot;service&quot; : &quot;...&quot;,
&quot;resources&quot; : {
&quot;property1&quot; : { },
&quot;property2&quot; : { }
},
&quot;dataMaskPolicyItems&quot; : [ { }, { } ],
&quot;rowFilterPolicyItems&quot; : [ { }, { } ],
&quot;policyItems&quot; : [ { }, { } ],
&quot;policyLabels&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;resourceSignature&quot; : &quot;...&quot;,
&quot;isDenyAllElse&quot; : true,
&quot;name&quot; : &quot;...&quot;,
&quot;serviceType&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;conditions&quot; : [ { }, { } ],
&quot;options&quot; : {
&quot;property1&quot; : { },
&quot;property2&quot; : { }
},
&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;denyExceptions&quot; : [ { }, { } ],
&quot;allowExceptions&quot; : [ { }, { } ],
&quot;validitySchedules&quot; : [ { }, { } ],
&quot;policyPriority&quot; : 12345,
&quot;policyType&quot; : 12345,
&quot;isAuditEnabled&quot; : true,
&quot;zoneName&quot; : &quot;...&quot;,
&quot;denyPolicyItems&quot; : [ { }, { } ],
&quot;service&quot; : &quot;...&quot;,
&quot;resources&quot; : {
&quot;property1&quot; : { },
&quot;property2&quot; : { }
},
&quot;dataMaskPolicyItems&quot; : [ { }, { } ],
&quot;rowFilterPolicyItems&quot; : [ { }, { } ],
&quot;policyItems&quot; : [ { }, { } ],
&quot;policyLabels&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;resourceSignature&quot; : &quot;...&quot;,
&quot;isDenyAllElse&quot; : true,
&quot;name&quot; : &quot;...&quot;,
&quot;serviceType&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;conditions&quot; : [ { }, { } ],
&quot;options&quot; : {
&quot;property1&quot; : { },
&quot;property2&quot; : { }
},
&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;resources&quot; : [ {
&quot;property1&quot; : [ ],
&quot;property2&quot; : [ ]
}, {
&quot;property1&quot; : [ ],
&quot;property2&quot; : [ ]
} ],
&quot;policyDeltas&quot; : [ {
&quot;policy&quot; : { },
&quot;changeType&quot; : 12345,
&quot;policiesVersion&quot; : 12345,
&quot;id&quot; : 12345
}, {
&quot;policy&quot; : { },
&quot;changeType&quot; : 12345,
&quot;policiesVersion&quot; : 12345,
&quot;id&quot; : 12345
} ],
&quot;zoneName&quot; : &quot;...&quot;
}
},
&quot;serviceName&quot; : &quot;...&quot;
}
</code>
</pre>
</div>
</div>
</div>
</div>
<div id="resource_ServiceREST_getServicePolicies_GET">
<h3><span class="label label-default resource-method">GET</span> <span class="resource-path">/plugins/policies/service/{id} <a href="../plugins/policies/service/{id}" 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>constraints</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parameter-name">id</span></td>
<td>path</td>
<td><span class="parameter-description"></span></td>
<td><span class="parameter-constraints">long</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_RangerPolicyList.html">RangerPolicyList</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_rangerPolicyList.html">rangerPolicyList</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 /plugins/policies/service/{id}
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;policies&quot; : [ {
&quot;denyExceptions&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;allowExceptions&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;validitySchedules&quot; : [ {
&quot;recurrences&quot; : [ { }, { } ],
&quot;startTime&quot; : &quot;...&quot;,
&quot;timeZone&quot; : &quot;...&quot;,
&quot;endTime&quot; : &quot;...&quot;
}, {
&quot;recurrences&quot; : [ { }, { } ],
&quot;startTime&quot; : &quot;...&quot;,
&quot;timeZone&quot; : &quot;...&quot;,
&quot;endTime&quot; : &quot;...&quot;
} ],
&quot;policyPriority&quot; : 12345,
&quot;policyType&quot; : 12345,
&quot;isAuditEnabled&quot; : true,
&quot;zoneName&quot; : &quot;...&quot;,
&quot;denyPolicyItems&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;service&quot; : &quot;...&quot;,
&quot;resources&quot; : {
&quot;property1&quot; : {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;isRecursive&quot; : true,
&quot;isExcludes&quot; : true
},
&quot;property2&quot; : {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;isRecursive&quot; : true,
&quot;isExcludes&quot; : true
}
},
&quot;dataMaskPolicyItems&quot; : [ {
&quot;dataMaskInfo&quot; : { },
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;dataMaskInfo&quot; : { },
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;rowFilterPolicyItems&quot; : [ {
&quot;rowFilterInfo&quot; : { },
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;rowFilterInfo&quot; : { },
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;policyItems&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;policyLabels&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;resourceSignature&quot; : &quot;...&quot;,
&quot;isDenyAllElse&quot; : true,
&quot;name&quot; : &quot;...&quot;,
&quot;serviceType&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;options&quot; : {
&quot;property1&quot; : { },
&quot;property2&quot; : { }
},
&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;denyExceptions&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;allowExceptions&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;validitySchedules&quot; : [ {
&quot;recurrences&quot; : [ { }, { } ],
&quot;startTime&quot; : &quot;...&quot;,
&quot;timeZone&quot; : &quot;...&quot;,
&quot;endTime&quot; : &quot;...&quot;
}, {
&quot;recurrences&quot; : [ { }, { } ],
&quot;startTime&quot; : &quot;...&quot;,
&quot;timeZone&quot; : &quot;...&quot;,
&quot;endTime&quot; : &quot;...&quot;
} ],
&quot;policyPriority&quot; : 12345,
&quot;policyType&quot; : 12345,
&quot;isAuditEnabled&quot; : true,
&quot;zoneName&quot; : &quot;...&quot;,
&quot;denyPolicyItems&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;service&quot; : &quot;...&quot;,
&quot;resources&quot; : {
&quot;property1&quot; : {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;isRecursive&quot; : true,
&quot;isExcludes&quot; : true
},
&quot;property2&quot; : {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;isRecursive&quot; : true,
&quot;isExcludes&quot; : true
}
},
&quot;dataMaskPolicyItems&quot; : [ {
&quot;dataMaskInfo&quot; : { },
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;dataMaskInfo&quot; : { },
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;rowFilterPolicyItems&quot; : [ {
&quot;rowFilterInfo&quot; : { },
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;rowFilterInfo&quot; : { },
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;policyItems&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;policyLabels&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;resourceSignature&quot; : &quot;...&quot;,
&quot;isDenyAllElse&quot; : true,
&quot;name&quot; : &quot;...&quot;,
&quot;serviceType&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;options&quot; : {
&quot;property1&quot; : { },
&quot;property2&quot; : { }
},
&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_ServiceREST_getPoliciesForResource_GET">
<h3><span class="label label-default resource-method">GET</span> <span class="resource-path">/plugins/policies/{serviceDefName}/for-resource <a href="../plugins/policies/{serviceDefName}/for-resource" 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>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parameter-name">serviceDefName</span></td>
<td>path</td>
<td><span class="parameter-description"></span></td>
<td><span class="parameter-default-value">&nbsp;</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"></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">array of <a href="json_RangerPolicy.html">RangerPolicy</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">list of <a href="xml_ns0_rangerPolicy.html">rangerPolicy</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 /plugins/policies/{serviceDefName}/for-resource
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;denyExceptions&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;allowExceptions&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;validitySchedules&quot; : [ {
&quot;recurrences&quot; : [ {
&quot;interval&quot; : { },
&quot;schedule&quot; : { }
}, {
&quot;interval&quot; : { },
&quot;schedule&quot; : { }
} ],
&quot;startTime&quot; : &quot;...&quot;,
&quot;timeZone&quot; : &quot;...&quot;,
&quot;endTime&quot; : &quot;...&quot;
}, {
&quot;recurrences&quot; : [ {
&quot;interval&quot; : { },
&quot;schedule&quot; : { }
}, {
&quot;interval&quot; : { },
&quot;schedule&quot; : { }
} ],
&quot;startTime&quot; : &quot;...&quot;,
&quot;timeZone&quot; : &quot;...&quot;,
&quot;endTime&quot; : &quot;...&quot;
} ],
&quot;policyPriority&quot; : 12345,
&quot;policyType&quot; : 12345,
&quot;isAuditEnabled&quot; : true,
&quot;zoneName&quot; : &quot;...&quot;,
&quot;denyPolicyItems&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;service&quot; : &quot;...&quot;,
&quot;resources&quot; : {
&quot;property1&quot; : {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;isRecursive&quot; : true,
&quot;isExcludes&quot; : true
},
&quot;property2&quot; : {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;isRecursive&quot; : true,
&quot;isExcludes&quot; : true
}
},
&quot;dataMaskPolicyItems&quot; : [ {
&quot;dataMaskInfo&quot; : {
&quot;dataMaskType&quot; : &quot;...&quot;,
&quot;valueExpr&quot; : &quot;...&quot;,
&quot;conditionExpr&quot; : &quot;...&quot;
},
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;dataMaskInfo&quot; : {
&quot;dataMaskType&quot; : &quot;...&quot;,
&quot;valueExpr&quot; : &quot;...&quot;,
&quot;conditionExpr&quot; : &quot;...&quot;
},
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;rowFilterPolicyItems&quot; : [ {
&quot;rowFilterInfo&quot; : {
&quot;filterExpr&quot; : &quot;...&quot;
},
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;rowFilterInfo&quot; : {
&quot;filterExpr&quot; : &quot;...&quot;
},
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;policyItems&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;policyLabels&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;resourceSignature&quot; : &quot;...&quot;,
&quot;isDenyAllElse&quot; : true,
&quot;name&quot; : &quot;...&quot;,
&quot;serviceType&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;options&quot; : {
&quot;property1&quot; : { },
&quot;property2&quot; : { }
},
&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_ServiceREST_getPolicyVersionList_GET">
<h3><span class="label label-default resource-method">GET</span> <span class="resource-path">/plugins/policy/{policyId}/versionList <a href="../plugins/policy/{policyId}/versionList" 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>constraints</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parameter-name">policyId</span></td>
<td>path</td>
<td><span class="parameter-description"></span></td>
<td><span class="parameter-constraints">long</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_VXString.html">VXString</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_VXString.html">VXString</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 /plugins/policy/{policyId}/versionList
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;value&quot; : &quot;...&quot;,
&quot;myClassType&quot; : 12345
}
</code>
</pre>
</div>
</div>
</div>
</div>
<div id="resource_ServiceREST_purgeEmptyPolicies_DELETE">
<h3><span class="label label-default resource-method">DELETE</span> <span class="resource-path">/plugins/server/purgepolicies/{serviceName} <a href="../plugins/server/purgepolicies/{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>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parameter-name">serviceName</span></td>
<td>path</td>
<td><span class="parameter-description"></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>
DELETE /plugins/server/purgepolicies/{serviceName}
Content-Type: */*
<code class="prettyprint language-txt">
...
</code>
</pre>
</div>
<div class="col-md-6">
<h5>Response</h5>
<pre>
HTTP/1.1 204 No Content
</pre>
</div>
</div>
</div>
</div>
<div id="resource_ServiceREST_grantAccess_POST">
<h3><span class="label label-default resource-method">POST</span> <span class="resource-path">/plugins/services/grant/{serviceName} <a href="../plugins/services/grant/{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>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parameter-name">serviceName</span></td>
<td>path</td>
<td><span class="parameter-description"></span></td>
</tr>
</tbody>
</table>
<table class="table resource-request-body">
<caption>Request Body</caption>
<thead>
<tr>
<th>media type</th>
<th>data type</th>
</tr>
</thead>
<tbody>
<tr>
<td><abbr data-toggle="tooltip" data-placement="top" title="Use the &quot;Content-Type: application/json&quot; HTTP header to specify this media type to the server."><span class="request-type">application/json</span></abbr></td>
<td><span class="datatype-reference"><a href="json_GrantRevokeRequest.html">GrantRevokeRequest</a>
(JSON)</span></td>
</tr>
<tr>
<td><abbr data-toggle="tooltip" data-placement="top" title="Use the &quot;Content-Type: application/xml&quot; HTTP header to specify this media type to the server."><span class="request-type">application/xml</span></abbr></td>
<td><span class="datatype-reference"><a href="xml_ns0_grantRevokeRequest.html">grantRevokeRequest</a>
(XML)</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_RESTResponse.html">RESTResponse</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_RESTResponse.html">RESTResponse</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>
POST /plugins/services/grant/{serviceName}
Content-Type: application/json
Accept: application/json
<code class="prettyprint language-js">
{
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;delegateAdmin&quot; : true,
&quot;ownerUser&quot; : &quot;...&quot;,
&quot;zoneName&quot; : &quot;...&quot;,
&quot;replaceExistingPermissions&quot; : true,
&quot;sessionId&quot; : &quot;...&quot;,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;clientIPAddress&quot; : &quot;...&quot;,
&quot;grantorGroups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;enableAudit&quot; : true,
&quot;isRecursive&quot; : true,
&quot;remoteIPAddress&quot; : &quot;...&quot;,
&quot;clusterName&quot; : &quot;...&quot;,
&quot;accessTypes&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;resource&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;grantor&quot; : &quot;...&quot;,
&quot;requestData&quot; : &quot;...&quot;,
&quot;clientType&quot; : &quot;...&quot;,
&quot;forwardedAddresses&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}
</code>
</pre>
</div>
<div class="col-md-6">
<h5>Response</h5>
<pre>
HTTP/1.1 201 Created
Content-Type: application/json
<code class="prettyprint language-js">
{
&quot;message&quot; : &quot;...&quot;,
&quot;msgDesc&quot; : &quot;...&quot;,
&quot;httpStatusCode&quot; : 12345,
&quot;messageList&quot; : [ {
&quot;fieldName&quot; : &quot;...&quot;,
&quot;objectId&quot; : 12345,
&quot;rbKey&quot; : &quot;...&quot;,
&quot;message&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;
}, {
&quot;fieldName&quot; : &quot;...&quot;,
&quot;objectId&quot; : 12345,
&quot;rbKey&quot; : &quot;...&quot;,
&quot;message&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;
} ],
&quot;statusCode&quot; : 12345
}
</code>
</pre>
</div>
</div>
</div>
</div>
<div id="resource_ServiceREST_lookupResource_POST">
<h3><span class="label label-default resource-method">POST</span> <span class="resource-path">/plugins/services/lookupResource/{serviceName} <a href="../plugins/services/lookupResource/{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>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parameter-name">serviceName</span></td>
<td>path</td>
<td><span class="parameter-description"></span></td>
</tr>
</tbody>
</table>
<table class="table resource-request-body">
<caption>Request Body</caption>
<thead>
<tr>
<th>media type</th>
<th>data type</th>
</tr>
</thead>
<tbody>
<tr>
<td><abbr data-toggle="tooltip" data-placement="top" title="Use the &quot;Content-Type: application/json&quot; HTTP header to specify this media type to the server."><span class="request-type">application/json</span></abbr></td>
<td><span class="datatype-reference"><a href="json_ResourceLookupContext.html">ResourceLookupContext</a>
(JSON)</span></td>
</tr>
<tr>
<td><abbr data-toggle="tooltip" data-placement="top" title="Use the &quot;Content-Type: application/xml&quot; HTTP header to specify this media type to the server."><span class="request-type">application/xml</span></abbr></td>
<td><span class="datatype-reference"><a href="xml_ns0_resourceLookupContext.html">resourceLookupContext</a>
(XML)</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">array of string
(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">list of string
(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>
POST /plugins/services/lookupResource/{serviceName}
Content-Type: application/json
Accept: application/json
<code class="prettyprint language-js">
{
&quot;userInput&quot; : &quot;...&quot;,
&quot;resources&quot; : {
&quot;property1&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;property2&quot; : [ &quot;...&quot;, &quot;...&quot; ]
},
&quot;resourceName&quot; : &quot;...&quot;
}
</code>
</pre>
</div>
<div class="col-md-6">
<h5>Response</h5>
<pre>
HTTP/1.1 201 Created
Content-Type: application/json
<code class="prettyprint language-txt">
...
</code>
</pre>
</div>
</div>
</div>
</div>
<div id="resource_ServiceREST_getServiceByName_GET">
<h3><span class="label label-default resource-method">GET</span> <span class="resource-path">/plugins/services/name/{name} <a href="../plugins/services/name/{name}" 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>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parameter-name">name</span></td>
<td>path</td>
<td><span class="parameter-description"></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_RangerService.html">RangerService</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_rangerService.html">rangerService</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 /plugins/services/name/{name}
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;policyUpdateTime&quot; : 12345,
&quot;description&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;,
&quot;type&quot; : &quot;...&quot;,
&quot;configs&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;tagVersion&quot; : 12345,
&quot;tagUpdateTime&quot; : 12345,
&quot;displayName&quot; : &quot;...&quot;,
&quot;policyVersion&quot; : 12345,
&quot;tagService&quot; : &quot;...&quot;,
&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_ServiceREST_revokeAccess_POST">
<h3><span class="label label-default resource-method">POST</span> <span class="resource-path">/plugins/services/revoke/{serviceName} <a href="../plugins/services/revoke/{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>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parameter-name">serviceName</span></td>
<td>path</td>
<td><span class="parameter-description"></span></td>
</tr>
</tbody>
</table>
<table class="table resource-request-body">
<caption>Request Body</caption>
<thead>
<tr>
<th>media type</th>
<th>data type</th>
</tr>
</thead>
<tbody>
<tr>
<td><abbr data-toggle="tooltip" data-placement="top" title="Use the &quot;Content-Type: application/json&quot; HTTP header to specify this media type to the server."><span class="request-type">application/json</span></abbr></td>
<td><span class="datatype-reference"><a href="json_GrantRevokeRequest.html">GrantRevokeRequest</a>
(JSON)</span></td>
</tr>
<tr>
<td><abbr data-toggle="tooltip" data-placement="top" title="Use the &quot;Content-Type: application/xml&quot; HTTP header to specify this media type to the server."><span class="request-type">application/xml</span></abbr></td>
<td><span class="datatype-reference"><a href="xml_ns0_grantRevokeRequest.html">grantRevokeRequest</a>
(XML)</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_RESTResponse.html">RESTResponse</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_RESTResponse.html">RESTResponse</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>
POST /plugins/services/revoke/{serviceName}
Content-Type: application/json
Accept: application/json
<code class="prettyprint language-js">
{
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;delegateAdmin&quot; : true,
&quot;ownerUser&quot; : &quot;...&quot;,
&quot;zoneName&quot; : &quot;...&quot;,
&quot;replaceExistingPermissions&quot; : true,
&quot;sessionId&quot; : &quot;...&quot;,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;clientIPAddress&quot; : &quot;...&quot;,
&quot;grantorGroups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;enableAudit&quot; : true,
&quot;isRecursive&quot; : true,
&quot;remoteIPAddress&quot; : &quot;...&quot;,
&quot;clusterName&quot; : &quot;...&quot;,
&quot;accessTypes&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;resource&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;grantor&quot; : &quot;...&quot;,
&quot;requestData&quot; : &quot;...&quot;,
&quot;clientType&quot; : &quot;...&quot;,
&quot;forwardedAddresses&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}
</code>
</pre>
</div>
<div class="col-md-6">
<h5>Response</h5>
<pre>
HTTP/1.1 201 Created
Content-Type: application/json
<code class="prettyprint language-js">
{
&quot;message&quot; : &quot;...&quot;,
&quot;msgDesc&quot; : &quot;...&quot;,
&quot;httpStatusCode&quot; : 12345,
&quot;messageList&quot; : [ {
&quot;fieldName&quot; : &quot;...&quot;,
&quot;objectId&quot; : 12345,
&quot;rbKey&quot; : &quot;...&quot;,
&quot;message&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;
}, {
&quot;fieldName&quot; : &quot;...&quot;,
&quot;objectId&quot; : 12345,
&quot;rbKey&quot; : &quot;...&quot;,
&quot;message&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;
} ],
&quot;statusCode&quot; : 12345
}
</code>
</pre>
</div>
</div>
</div>
</div>
<div id="resource_ServiceREST_getServicePoliciesByName_GET">
<h3><span class="label label-default resource-method">GET</span> <span class="resource-path">/plugins/policies/service/name/{name} <a href="../plugins/policies/service/name/{name}" 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>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parameter-name">name</span></td>
<td>path</td>
<td><span class="parameter-description"></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_RangerPolicyList.html">RangerPolicyList</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_rangerPolicyList.html">rangerPolicyList</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 /plugins/policies/service/name/{name}
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;policies&quot; : [ {
&quot;denyExceptions&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;allowExceptions&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;validitySchedules&quot; : [ {
&quot;recurrences&quot; : [ { }, { } ],
&quot;startTime&quot; : &quot;...&quot;,
&quot;timeZone&quot; : &quot;...&quot;,
&quot;endTime&quot; : &quot;...&quot;
}, {
&quot;recurrences&quot; : [ { }, { } ],
&quot;startTime&quot; : &quot;...&quot;,
&quot;timeZone&quot; : &quot;...&quot;,
&quot;endTime&quot; : &quot;...&quot;
} ],
&quot;policyPriority&quot; : 12345,
&quot;policyType&quot; : 12345,
&quot;isAuditEnabled&quot; : true,
&quot;zoneName&quot; : &quot;...&quot;,
&quot;denyPolicyItems&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;service&quot; : &quot;...&quot;,
&quot;resources&quot; : {
&quot;property1&quot; : {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;isRecursive&quot; : true,
&quot;isExcludes&quot; : true
},
&quot;property2&quot; : {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;isRecursive&quot; : true,
&quot;isExcludes&quot; : true
}
},
&quot;dataMaskPolicyItems&quot; : [ {
&quot;dataMaskInfo&quot; : { },
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;dataMaskInfo&quot; : { },
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;rowFilterPolicyItems&quot; : [ {
&quot;rowFilterInfo&quot; : { },
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;rowFilterInfo&quot; : { },
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;policyItems&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;policyLabels&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;resourceSignature&quot; : &quot;...&quot;,
&quot;isDenyAllElse&quot; : true,
&quot;name&quot; : &quot;...&quot;,
&quot;serviceType&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;options&quot; : {
&quot;property1&quot; : { },
&quot;property2&quot; : { }
},
&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;denyExceptions&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;allowExceptions&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;validitySchedules&quot; : [ {
&quot;recurrences&quot; : [ { }, { } ],
&quot;startTime&quot; : &quot;...&quot;,
&quot;timeZone&quot; : &quot;...&quot;,
&quot;endTime&quot; : &quot;...&quot;
}, {
&quot;recurrences&quot; : [ { }, { } ],
&quot;startTime&quot; : &quot;...&quot;,
&quot;timeZone&quot; : &quot;...&quot;,
&quot;endTime&quot; : &quot;...&quot;
} ],
&quot;policyPriority&quot; : 12345,
&quot;policyType&quot; : 12345,
&quot;isAuditEnabled&quot; : true,
&quot;zoneName&quot; : &quot;...&quot;,
&quot;denyPolicyItems&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;service&quot; : &quot;...&quot;,
&quot;resources&quot; : {
&quot;property1&quot; : {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;isRecursive&quot; : true,
&quot;isExcludes&quot; : true
},
&quot;property2&quot; : {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;isRecursive&quot; : true,
&quot;isExcludes&quot; : true
}
},
&quot;dataMaskPolicyItems&quot; : [ {
&quot;dataMaskInfo&quot; : { },
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;dataMaskInfo&quot; : { },
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;rowFilterPolicyItems&quot; : [ {
&quot;rowFilterInfo&quot; : { },
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;rowFilterInfo&quot; : { },
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;policyItems&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;policyLabels&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;resourceSignature&quot; : &quot;...&quot;,
&quot;isDenyAllElse&quot; : true,
&quot;name&quot; : &quot;...&quot;,
&quot;serviceType&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;options&quot; : {
&quot;property1&quot; : { },
&quot;property2&quot; : { }
},
&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_ServiceREST_getPolicyForVersionNumber_GET">
<h3><span class="label label-default resource-method">GET</span> <span class="resource-path">/plugins/policy/{policyId}/version/{versionNo} <a href="../plugins/policy/{policyId}/version/{versionNo}" 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>constraints</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parameter-name">policyId</span></td>
<td>path</td>
<td><span class="parameter-description"></span></td>
<td><span class="parameter-constraints">long</span></td>
</tr>
<tr>
<td><span class="parameter-name">versionNo</span></td>
<td>path</td>
<td><span class="parameter-description"></span></td>
<td><span class="parameter-constraints">int</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_RangerPolicy.html">RangerPolicy</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_rangerPolicy.html">rangerPolicy</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 /plugins/policy/{policyId}/version/{versionNo}
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;denyExceptions&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;allowExceptions&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;validitySchedules&quot; : [ {
&quot;recurrences&quot; : [ {
&quot;interval&quot; : { },
&quot;schedule&quot; : { }
}, {
&quot;interval&quot; : { },
&quot;schedule&quot; : { }
} ],
&quot;startTime&quot; : &quot;...&quot;,
&quot;timeZone&quot; : &quot;...&quot;,
&quot;endTime&quot; : &quot;...&quot;
}, {
&quot;recurrences&quot; : [ {
&quot;interval&quot; : { },
&quot;schedule&quot; : { }
}, {
&quot;interval&quot; : { },
&quot;schedule&quot; : { }
} ],
&quot;startTime&quot; : &quot;...&quot;,
&quot;timeZone&quot; : &quot;...&quot;,
&quot;endTime&quot; : &quot;...&quot;
} ],
&quot;policyPriority&quot; : 12345,
&quot;policyType&quot; : 12345,
&quot;isAuditEnabled&quot; : true,
&quot;zoneName&quot; : &quot;...&quot;,
&quot;denyPolicyItems&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;service&quot; : &quot;...&quot;,
&quot;resources&quot; : {
&quot;property1&quot; : {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;isRecursive&quot; : true,
&quot;isExcludes&quot; : true
},
&quot;property2&quot; : {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;isRecursive&quot; : true,
&quot;isExcludes&quot; : true
}
},
&quot;dataMaskPolicyItems&quot; : [ {
&quot;dataMaskInfo&quot; : {
&quot;dataMaskType&quot; : &quot;...&quot;,
&quot;valueExpr&quot; : &quot;...&quot;,
&quot;conditionExpr&quot; : &quot;...&quot;
},
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;dataMaskInfo&quot; : {
&quot;dataMaskType&quot; : &quot;...&quot;,
&quot;valueExpr&quot; : &quot;...&quot;,
&quot;conditionExpr&quot; : &quot;...&quot;
},
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;rowFilterPolicyItems&quot; : [ {
&quot;rowFilterInfo&quot; : {
&quot;filterExpr&quot; : &quot;...&quot;
},
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;rowFilterInfo&quot; : {
&quot;filterExpr&quot; : &quot;...&quot;
},
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;policyItems&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
}, {
&quot;type&quot; : &quot;...&quot;,
&quot;isAllowed&quot; : true
} ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;policyLabels&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;resourceSignature&quot; : &quot;...&quot;,
&quot;isDenyAllElse&quot; : true,
&quot;name&quot; : &quot;...&quot;,
&quot;serviceType&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;options&quot; : {
&quot;property1&quot; : { },
&quot;property2&quot; : { }
},
&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_ServiceREST_getSecureServicePoliciesIfUpdated_GET">
<h3><span class="label label-default resource-method">GET</span> <span class="resource-path">/plugins/secure/policies/download/{serviceName} <a href="../plugins/secure/policies/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">lastKnownVersion</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>
<tr>
<td><span class="parameter-name">supportsPolicyDeltas</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">zoneName</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>
</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_ServicePolicies.html">ServicePolicies</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_servicePolicies.html">servicePolicies</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 /plugins/secure/policies/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;serviceDef&quot; : {
&quot;accessTypes&quot; : [ {
&quot;impliedGrants&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;name&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;rbKeyLabel&quot; : &quot;...&quot;
}, {
&quot;impliedGrants&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;name&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;rbKeyLabel&quot; : &quot;...&quot;
} ],
&quot;label&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;dataMaskDef&quot; : {
&quot;maskTypes&quot; : [ { }, { } ],
&quot;accessTypes&quot; : [ { }, { } ],
&quot;resources&quot; : [ { }, { } ]
},
&quot;resources&quot; : [ {
&quot;recursiveSupported&quot; : true,
&quot;label&quot; : &quot;...&quot;,
&quot;excludesSupported&quot; : true,
&quot;parent&quot; : &quot;...&quot;,
&quot;matcher&quot; : &quot;...&quot;,
&quot;type&quot; : &quot;...&quot;,
&quot;accessTypeRestrictions&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;lookupSupported&quot; : true,
&quot;isValidLeaf&quot; : true,
&quot;matcherOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;name&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;mandatory&quot; : true,
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;level&quot; : 12345,
&quot;itemId&quot; : 12345,
&quot;uiHint&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;rbKeyDescription&quot; : &quot;...&quot;
}, {
&quot;recursiveSupported&quot; : true,
&quot;label&quot; : &quot;...&quot;,
&quot;excludesSupported&quot; : true,
&quot;parent&quot; : &quot;...&quot;,
&quot;matcher&quot; : &quot;...&quot;,
&quot;type&quot; : &quot;...&quot;,
&quot;accessTypeRestrictions&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;lookupSupported&quot; : true,
&quot;isValidLeaf&quot; : true,
&quot;matcherOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;name&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;mandatory&quot; : true,
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;level&quot; : 12345,
&quot;itemId&quot; : 12345,
&quot;uiHint&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;rbKeyDescription&quot; : &quot;...&quot;
} ],
&quot;options&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;rowFilterDef&quot; : {
&quot;accessTypes&quot; : [ { }, { } ],
&quot;resources&quot; : [ { }, { } ]
},
&quot;description&quot; : &quot;...&quot;,
&quot;policyConditions&quot; : [ {
&quot;uiHint&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;name&quot; : &quot;...&quot;,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;evaluatorOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;evaluator&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;rbKeyDescription&quot; : &quot;...&quot;
}, {
&quot;uiHint&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;name&quot; : &quot;...&quot;,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;evaluatorOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;evaluator&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;rbKeyDescription&quot; : &quot;...&quot;
} ],
&quot;implClass&quot; : &quot;...&quot;,
&quot;displayName&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;,
&quot;contextEnrichers&quot; : [ {
&quot;name&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;enricherOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;enricher&quot; : &quot;...&quot;
}, {
&quot;name&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;enricherOptions&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;enricher&quot; : &quot;...&quot;
} ],
&quot;enums&quot; : [ {
&quot;name&quot; : &quot;...&quot;,
&quot;defaultIndex&quot; : 12345,
&quot;elements&quot; : [ { }, { } ],
&quot;itemId&quot; : 12345
}, {
&quot;name&quot; : &quot;...&quot;,
&quot;defaultIndex&quot; : 12345,
&quot;elements&quot; : [ { }, { } ],
&quot;itemId&quot; : 12345
} ],
&quot;rbKeyDescription&quot; : &quot;...&quot;,
&quot;configs&quot; : [ {
&quot;rbKeyDescription&quot; : &quot;...&quot;,
&quot;subType&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;defaultValue&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;mandatory&quot; : true,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;type&quot; : &quot;...&quot;,
&quot;uiHint&quot; : &quot;...&quot;
}, {
&quot;rbKeyDescription&quot; : &quot;...&quot;,
&quot;subType&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;defaultValue&quot; : &quot;...&quot;,
&quot;rbKeyValidationMessage&quot; : &quot;...&quot;,
&quot;label&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;itemId&quot; : 12345,
&quot;mandatory&quot; : true,
&quot;validationRegEx&quot; : &quot;...&quot;,
&quot;validationMessage&quot; : &quot;...&quot;,
&quot;type&quot; : &quot;...&quot;,
&quot;uiHint&quot; : &quot;...&quot;
} ],
&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;policyUpdateTime&quot; : 12345,
&quot;serviceId&quot; : 12345,
&quot;policyDeltas&quot; : [ {
&quot;policy&quot; : {
&quot;denyExceptions&quot; : [ { }, { } ],
&quot;allowExceptions&quot; : [ { }, { } ],
&quot;validitySchedules&quot; : [ { }, { } ],
&quot;policyPriority&quot; : 12345,
&quot;policyType&quot; : 12345,
&quot;isAuditEnabled&quot; : true,
&quot;zoneName&quot; : &quot;...&quot;,
&quot;denyPolicyItems&quot; : [ { }, { } ],
&quot;service&quot; : &quot;...&quot;,
&quot;resources&quot; : {
&quot;property1&quot; : { },
&quot;property2&quot; : { }
},
&quot;dataMaskPolicyItems&quot; : [ { }, { } ],
&quot;rowFilterPolicyItems&quot; : [ { }, { } ],
&quot;policyItems&quot; : [ { }, { } ],
&quot;policyLabels&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;resourceSignature&quot; : &quot;...&quot;,
&quot;isDenyAllElse&quot; : true,
&quot;name&quot; : &quot;...&quot;,
&quot;serviceType&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;conditions&quot; : [ { }, { } ],
&quot;options&quot; : {
&quot;property1&quot; : { },
&quot;property2&quot; : { }
},
&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;changeType&quot; : 12345,
&quot;policiesVersion&quot; : 12345,
&quot;id&quot; : 12345
}, {
&quot;policy&quot; : {
&quot;denyExceptions&quot; : [ { }, { } ],
&quot;allowExceptions&quot; : [ { }, { } ],
&quot;validitySchedules&quot; : [ { }, { } ],
&quot;policyPriority&quot; : 12345,
&quot;policyType&quot; : 12345,
&quot;isAuditEnabled&quot; : true,
&quot;zoneName&quot; : &quot;...&quot;,
&quot;denyPolicyItems&quot; : [ { }, { } ],
&quot;service&quot; : &quot;...&quot;,
&quot;resources&quot; : {
&quot;property1&quot; : { },
&quot;property2&quot; : { }
},
&quot;dataMaskPolicyItems&quot; : [ { }, { } ],
&quot;rowFilterPolicyItems&quot; : [ { }, { } ],
&quot;policyItems&quot; : [ { }, { } ],
&quot;policyLabels&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;resourceSignature&quot; : &quot;...&quot;,
&quot;isDenyAllElse&quot; : true,
&quot;name&quot; : &quot;...&quot;,
&quot;serviceType&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;conditions&quot; : [ { }, { } ],
&quot;options&quot; : {
&quot;property1&quot; : { },
&quot;property2&quot; : { }
},
&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;changeType&quot; : 12345,
&quot;policiesVersion&quot; : 12345,
&quot;id&quot; : 12345
} ],
&quot;auditMode&quot; : &quot;...&quot;,
&quot;policyVersion&quot; : 12345,
&quot;tagPolicies&quot; : {
&quot;policyUpdateTime&quot; : 12345,
&quot;serviceConfig&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;policyVersion&quot; : 12345,
&quot;auditMode&quot; : &quot;...&quot;,
&quot;serviceId&quot; : 12345,
&quot;serviceName&quot; : &quot;...&quot;,
&quot;serviceDef&quot; : {
&quot;accessTypes&quot; : [ { }, { } ],
&quot;label&quot; : &quot;...&quot;,
&quot;rbKeyLabel&quot; : &quot;...&quot;,
&quot;dataMaskDef&quot; : { },
&quot;resources&quot; : [ { }, { } ],
&quot;options&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;rowFilterDef&quot; : { },
&quot;description&quot; : &quot;...&quot;,
&quot;policyConditions&quot; : [ { }, { } ],
&quot;implClass&quot; : &quot;...&quot;,
&quot;displayName&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;,
&quot;contextEnrichers&quot; : [ { }, { } ],
&quot;enums&quot; : [ { }, { } ],
&quot;rbKeyDescription&quot; : &quot;...&quot;,
&quot;configs&quot; : [ { }, { } ],
&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;policies&quot; : [ {
&quot;denyExceptions&quot; : [ { }, { } ],
&quot;allowExceptions&quot; : [ { }, { } ],
&quot;validitySchedules&quot; : [ { }, { } ],
&quot;policyPriority&quot; : 12345,
&quot;policyType&quot; : 12345,
&quot;isAuditEnabled&quot; : true,
&quot;zoneName&quot; : &quot;...&quot;,
&quot;denyPolicyItems&quot; : [ { }, { } ],
&quot;service&quot; : &quot;...&quot;,
&quot;resources&quot; : {
&quot;property1&quot; : { },
&quot;property2&quot; : { }
},
&quot;dataMaskPolicyItems&quot; : [ { }, { } ],
&quot;rowFilterPolicyItems&quot; : [ { }, { } ],
&quot;policyItems&quot; : [ { }, { } ],
&quot;policyLabels&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;resourceSignature&quot; : &quot;...&quot;,
&quot;isDenyAllElse&quot; : true,
&quot;name&quot; : &quot;...&quot;,
&quot;serviceType&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;conditions&quot; : [ { }, { } ],
&quot;options&quot; : {
&quot;property1&quot; : { },
&quot;property2&quot; : { }
},
&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;denyExceptions&quot; : [ { }, { } ],
&quot;allowExceptions&quot; : [ { }, { } ],
&quot;validitySchedules&quot; : [ { }, { } ],
&quot;policyPriority&quot; : 12345,
&quot;policyType&quot; : 12345,
&quot;isAuditEnabled&quot; : true,
&quot;zoneName&quot; : &quot;...&quot;,
&quot;denyPolicyItems&quot; : [ { }, { } ],
&quot;service&quot; : &quot;...&quot;,
&quot;resources&quot; : {
&quot;property1&quot; : { },
&quot;property2&quot; : { }
},
&quot;dataMaskPolicyItems&quot; : [ { }, { } ],
&quot;rowFilterPolicyItems&quot; : [ { }, { } ],
&quot;policyItems&quot; : [ { }, { } ],
&quot;policyLabels&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;resourceSignature&quot; : &quot;...&quot;,
&quot;isDenyAllElse&quot; : true,
&quot;name&quot; : &quot;...&quot;,
&quot;serviceType&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;conditions&quot; : [ { }, { } ],
&quot;options&quot; : {
&quot;property1&quot; : { },
&quot;property2&quot; : { }
},
&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;serviceConfig&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;policies&quot; : [ {
&quot;denyExceptions&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;allowExceptions&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;validitySchedules&quot; : [ {
&quot;recurrences&quot; : [ { }, { } ],
&quot;startTime&quot; : &quot;...&quot;,
&quot;timeZone&quot; : &quot;...&quot;,
&quot;endTime&quot; : &quot;...&quot;
}, {
&quot;recurrences&quot; : [ { }, { } ],
&quot;startTime&quot; : &quot;...&quot;,
&quot;timeZone&quot; : &quot;...&quot;,
&quot;endTime&quot; : &quot;...&quot;
} ],
&quot;policyPriority&quot; : 12345,
&quot;policyType&quot; : 12345,
&quot;isAuditEnabled&quot; : true,
&quot;zoneName&quot; : &quot;...&quot;,
&quot;denyPolicyItems&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;service&quot; : &quot;...&quot;,
&quot;resources&quot; : {
&quot;property1&quot; : {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;isRecursive&quot; : true,
&quot;isExcludes&quot; : true
},
&quot;property2&quot; : {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;isRecursive&quot; : true,
&quot;isExcludes&quot; : true
}
},
&quot;dataMaskPolicyItems&quot; : [ {
&quot;dataMaskInfo&quot; : { },
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;dataMaskInfo&quot; : { },
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;rowFilterPolicyItems&quot; : [ {
&quot;rowFilterInfo&quot; : { },
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;rowFilterInfo&quot; : { },
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;policyItems&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;policyLabels&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;resourceSignature&quot; : &quot;...&quot;,
&quot;isDenyAllElse&quot; : true,
&quot;name&quot; : &quot;...&quot;,
&quot;serviceType&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;options&quot; : {
&quot;property1&quot; : { },
&quot;property2&quot; : { }
},
&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;denyExceptions&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;allowExceptions&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;validitySchedules&quot; : [ {
&quot;recurrences&quot; : [ { }, { } ],
&quot;startTime&quot; : &quot;...&quot;,
&quot;timeZone&quot; : &quot;...&quot;,
&quot;endTime&quot; : &quot;...&quot;
}, {
&quot;recurrences&quot; : [ { }, { } ],
&quot;startTime&quot; : &quot;...&quot;,
&quot;timeZone&quot; : &quot;...&quot;,
&quot;endTime&quot; : &quot;...&quot;
} ],
&quot;policyPriority&quot; : 12345,
&quot;policyType&quot; : 12345,
&quot;isAuditEnabled&quot; : true,
&quot;zoneName&quot; : &quot;...&quot;,
&quot;denyPolicyItems&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;service&quot; : &quot;...&quot;,
&quot;resources&quot; : {
&quot;property1&quot; : {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;isRecursive&quot; : true,
&quot;isExcludes&quot; : true
},
&quot;property2&quot; : {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;isRecursive&quot; : true,
&quot;isExcludes&quot; : true
}
},
&quot;dataMaskPolicyItems&quot; : [ {
&quot;dataMaskInfo&quot; : { },
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;dataMaskInfo&quot; : { },
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;rowFilterPolicyItems&quot; : [ {
&quot;rowFilterInfo&quot; : { },
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;rowFilterInfo&quot; : { },
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;policyItems&quot; : [ {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}, {
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;accesses&quot; : [ { }, { } ],
&quot;delegateAdmin&quot; : true,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;conditions&quot; : [ { }, { } ],
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ]
} ],
&quot;policyLabels&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;resourceSignature&quot; : &quot;...&quot;,
&quot;isDenyAllElse&quot; : true,
&quot;name&quot; : &quot;...&quot;,
&quot;serviceType&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;conditions&quot; : [ {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
}, {
&quot;values&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;type&quot; : &quot;...&quot;
} ],
&quot;options&quot; : {
&quot;property1&quot; : { },
&quot;property2&quot; : { }
},
&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;securityZones&quot; : {
&quot;property1&quot; : {
&quot;containsAssociatedTagService&quot; : true,
&quot;policies&quot; : [ {
&quot;denyExceptions&quot; : [ { }, { } ],
&quot;allowExceptions&quot; : [ { }, { } ],
&quot;validitySchedules&quot; : [ { }, { } ],
&quot;policyPriority&quot; : 12345,
&quot;policyType&quot; : 12345,
&quot;isAuditEnabled&quot; : true,
&quot;zoneName&quot; : &quot;...&quot;,
&quot;denyPolicyItems&quot; : [ { }, { } ],
&quot;service&quot; : &quot;...&quot;,
&quot;resources&quot; : {
&quot;property1&quot; : { },
&quot;property2&quot; : { }
},
&quot;dataMaskPolicyItems&quot; : [ { }, { } ],
&quot;rowFilterPolicyItems&quot; : [ { }, { } ],
&quot;policyItems&quot; : [ { }, { } ],
&quot;policyLabels&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;resourceSignature&quot; : &quot;...&quot;,
&quot;isDenyAllElse&quot; : true,
&quot;name&quot; : &quot;...&quot;,
&quot;serviceType&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;conditions&quot; : [ { }, { } ],
&quot;options&quot; : {
&quot;property1&quot; : { },
&quot;property2&quot; : { }
},
&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;denyExceptions&quot; : [ { }, { } ],
&quot;allowExceptions&quot; : [ { }, { } ],
&quot;validitySchedules&quot; : [ { }, { } ],
&quot;policyPriority&quot; : 12345,
&quot;policyType&quot; : 12345,
&quot;isAuditEnabled&quot; : true,
&quot;zoneName&quot; : &quot;...&quot;,
&quot;denyPolicyItems&quot; : [ { }, { } ],
&quot;service&quot; : &quot;...&quot;,
&quot;resources&quot; : {
&quot;property1&quot; : { },
&quot;property2&quot; : { }
},
&quot;dataMaskPolicyItems&quot; : [ { }, { } ],
&quot;rowFilterPolicyItems&quot; : [ { }, { } ],
&quot;policyItems&quot; : [ { }, { } ],
&quot;policyLabels&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;resourceSignature&quot; : &quot;...&quot;,
&quot;isDenyAllElse&quot; : true,
&quot;name&quot; : &quot;...&quot;,
&quot;serviceType&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;conditions&quot; : [ { }, { } ],
&quot;options&quot; : {
&quot;property1&quot; : { },
&quot;property2&quot; : { }
},
&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;resources&quot; : [ {
&quot;property1&quot; : [ ],
&quot;property2&quot; : [ ]
}, {
&quot;property1&quot; : [ ],
&quot;property2&quot; : [ ]
} ],
&quot;policyDeltas&quot; : [ {
&quot;policy&quot; : { },
&quot;changeType&quot; : 12345,
&quot;policiesVersion&quot; : 12345,
&quot;id&quot; : 12345
}, {
&quot;policy&quot; : { },
&quot;changeType&quot; : 12345,
&quot;policiesVersion&quot; : 12345,
&quot;id&quot; : 12345
} ],
&quot;zoneName&quot; : &quot;...&quot;
},
&quot;property2&quot; : {
&quot;containsAssociatedTagService&quot; : true,
&quot;policies&quot; : [ {
&quot;denyExceptions&quot; : [ { }, { } ],
&quot;allowExceptions&quot; : [ { }, { } ],
&quot;validitySchedules&quot; : [ { }, { } ],
&quot;policyPriority&quot; : 12345,
&quot;policyType&quot; : 12345,
&quot;isAuditEnabled&quot; : true,
&quot;zoneName&quot; : &quot;...&quot;,
&quot;denyPolicyItems&quot; : [ { }, { } ],
&quot;service&quot; : &quot;...&quot;,
&quot;resources&quot; : {
&quot;property1&quot; : { },
&quot;property2&quot; : { }
},
&quot;dataMaskPolicyItems&quot; : [ { }, { } ],
&quot;rowFilterPolicyItems&quot; : [ { }, { } ],
&quot;policyItems&quot; : [ { }, { } ],
&quot;policyLabels&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;resourceSignature&quot; : &quot;...&quot;,
&quot;isDenyAllElse&quot; : true,
&quot;name&quot; : &quot;...&quot;,
&quot;serviceType&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;conditions&quot; : [ { }, { } ],
&quot;options&quot; : {
&quot;property1&quot; : { },
&quot;property2&quot; : { }
},
&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;denyExceptions&quot; : [ { }, { } ],
&quot;allowExceptions&quot; : [ { }, { } ],
&quot;validitySchedules&quot; : [ { }, { } ],
&quot;policyPriority&quot; : 12345,
&quot;policyType&quot; : 12345,
&quot;isAuditEnabled&quot; : true,
&quot;zoneName&quot; : &quot;...&quot;,
&quot;denyPolicyItems&quot; : [ { }, { } ],
&quot;service&quot; : &quot;...&quot;,
&quot;resources&quot; : {
&quot;property1&quot; : { },
&quot;property2&quot; : { }
},
&quot;dataMaskPolicyItems&quot; : [ { }, { } ],
&quot;rowFilterPolicyItems&quot; : [ { }, { } ],
&quot;policyItems&quot; : [ { }, { } ],
&quot;policyLabels&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;resourceSignature&quot; : &quot;...&quot;,
&quot;isDenyAllElse&quot; : true,
&quot;name&quot; : &quot;...&quot;,
&quot;serviceType&quot; : &quot;...&quot;,
&quot;description&quot; : &quot;...&quot;,
&quot;conditions&quot; : [ { }, { } ],
&quot;options&quot; : {
&quot;property1&quot; : { },
&quot;property2&quot; : { }
},
&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;resources&quot; : [ {
&quot;property1&quot; : [ ],
&quot;property2&quot; : [ ]
}, {
&quot;property1&quot; : [ ],
&quot;property2&quot; : [ ]
} ],
&quot;policyDeltas&quot; : [ {
&quot;policy&quot; : { },
&quot;changeType&quot; : 12345,
&quot;policiesVersion&quot; : 12345,
&quot;id&quot; : 12345
}, {
&quot;policy&quot; : { },
&quot;changeType&quot; : 12345,
&quot;policiesVersion&quot; : 12345,
&quot;id&quot; : 12345
} ],
&quot;zoneName&quot; : &quot;...&quot;
}
},
&quot;serviceName&quot; : &quot;...&quot;
}
</code>
</pre>
</div>
</div>
</div>
</div>
<div id="resource_ServiceREST_secureGrantAccess_POST">
<h3><span class="label label-default resource-method">POST</span> <span class="resource-path">/plugins/secure/services/grant/{serviceName} <a href="../plugins/secure/services/grant/{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>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parameter-name">serviceName</span></td>
<td>path</td>
<td><span class="parameter-description"></span></td>
</tr>
</tbody>
</table>
<table class="table resource-request-body">
<caption>Request Body</caption>
<thead>
<tr>
<th>media type</th>
<th>data type</th>
</tr>
</thead>
<tbody>
<tr>
<td><abbr data-toggle="tooltip" data-placement="top" title="Use the &quot;Content-Type: application/json&quot; HTTP header to specify this media type to the server."><span class="request-type">application/json</span></abbr></td>
<td><span class="datatype-reference"><a href="json_GrantRevokeRequest.html">GrantRevokeRequest</a>
(JSON)</span></td>
</tr>
<tr>
<td><abbr data-toggle="tooltip" data-placement="top" title="Use the &quot;Content-Type: application/xml&quot; HTTP header to specify this media type to the server."><span class="request-type">application/xml</span></abbr></td>
<td><span class="datatype-reference"><a href="xml_ns0_grantRevokeRequest.html">grantRevokeRequest</a>
(XML)</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_RESTResponse.html">RESTResponse</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_RESTResponse.html">RESTResponse</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>
POST /plugins/secure/services/grant/{serviceName}
Content-Type: application/json
Accept: application/json
<code class="prettyprint language-js">
{
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;delegateAdmin&quot; : true,
&quot;ownerUser&quot; : &quot;...&quot;,
&quot;zoneName&quot; : &quot;...&quot;,
&quot;replaceExistingPermissions&quot; : true,
&quot;sessionId&quot; : &quot;...&quot;,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;clientIPAddress&quot; : &quot;...&quot;,
&quot;grantorGroups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;enableAudit&quot; : true,
&quot;isRecursive&quot; : true,
&quot;remoteIPAddress&quot; : &quot;...&quot;,
&quot;clusterName&quot; : &quot;...&quot;,
&quot;accessTypes&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;resource&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;grantor&quot; : &quot;...&quot;,
&quot;requestData&quot; : &quot;...&quot;,
&quot;clientType&quot; : &quot;...&quot;,
&quot;forwardedAddresses&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}
</code>
</pre>
</div>
<div class="col-md-6">
<h5>Response</h5>
<pre>
HTTP/1.1 201 Created
Content-Type: application/json
<code class="prettyprint language-js">
{
&quot;message&quot; : &quot;...&quot;,
&quot;msgDesc&quot; : &quot;...&quot;,
&quot;httpStatusCode&quot; : 12345,
&quot;messageList&quot; : [ {
&quot;fieldName&quot; : &quot;...&quot;,
&quot;objectId&quot; : 12345,
&quot;rbKey&quot; : &quot;...&quot;,
&quot;message&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;
}, {
&quot;fieldName&quot; : &quot;...&quot;,
&quot;objectId&quot; : 12345,
&quot;rbKey&quot; : &quot;...&quot;,
&quot;message&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;
} ],
&quot;statusCode&quot; : 12345
}
</code>
</pre>
</div>
</div>
</div>
</div>
<div id="resource_ServiceREST_secureRevokeAccess_POST">
<h3><span class="label label-default resource-method">POST</span> <span class="resource-path">/plugins/secure/services/revoke/{serviceName} <a href="../plugins/secure/services/revoke/{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>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parameter-name">serviceName</span></td>
<td>path</td>
<td><span class="parameter-description"></span></td>
</tr>
</tbody>
</table>
<table class="table resource-request-body">
<caption>Request Body</caption>
<thead>
<tr>
<th>media type</th>
<th>data type</th>
</tr>
</thead>
<tbody>
<tr>
<td><abbr data-toggle="tooltip" data-placement="top" title="Use the &quot;Content-Type: application/json&quot; HTTP header to specify this media type to the server."><span class="request-type">application/json</span></abbr></td>
<td><span class="datatype-reference"><a href="json_GrantRevokeRequest.html">GrantRevokeRequest</a>
(JSON)</span></td>
</tr>
<tr>
<td><abbr data-toggle="tooltip" data-placement="top" title="Use the &quot;Content-Type: application/xml&quot; HTTP header to specify this media type to the server."><span class="request-type">application/xml</span></abbr></td>
<td><span class="datatype-reference"><a href="xml_ns0_grantRevokeRequest.html">grantRevokeRequest</a>
(XML)</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_RESTResponse.html">RESTResponse</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_RESTResponse.html">RESTResponse</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>
POST /plugins/secure/services/revoke/{serviceName}
Content-Type: application/json
Accept: application/json
<code class="prettyprint language-js">
{
&quot;roles&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;delegateAdmin&quot; : true,
&quot;ownerUser&quot; : &quot;...&quot;,
&quot;zoneName&quot; : &quot;...&quot;,
&quot;replaceExistingPermissions&quot; : true,
&quot;sessionId&quot; : &quot;...&quot;,
&quot;users&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;clientIPAddress&quot; : &quot;...&quot;,
&quot;grantorGroups&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;enableAudit&quot; : true,
&quot;isRecursive&quot; : true,
&quot;remoteIPAddress&quot; : &quot;...&quot;,
&quot;clusterName&quot; : &quot;...&quot;,
&quot;accessTypes&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;resource&quot; : {
&quot;property1&quot; : &quot;...&quot;,
&quot;property2&quot; : &quot;...&quot;
},
&quot;grantor&quot; : &quot;...&quot;,
&quot;requestData&quot; : &quot;...&quot;,
&quot;clientType&quot; : &quot;...&quot;,
&quot;forwardedAddresses&quot; : [ &quot;...&quot;, &quot;...&quot; ],
&quot;groups&quot; : [ &quot;...&quot;, &quot;...&quot; ]
}
</code>
</pre>
</div>
<div class="col-md-6">
<h5>Response</h5>
<pre>
HTTP/1.1 201 Created
Content-Type: application/json
<code class="prettyprint language-js">
{
&quot;message&quot; : &quot;...&quot;,
&quot;msgDesc&quot; : &quot;...&quot;,
&quot;httpStatusCode&quot; : 12345,
&quot;messageList&quot; : [ {
&quot;fieldName&quot; : &quot;...&quot;,
&quot;objectId&quot; : 12345,
&quot;rbKey&quot; : &quot;...&quot;,
&quot;message&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;
}, {
&quot;fieldName&quot; : &quot;...&quot;,
&quot;objectId&quot; : 12345,
&quot;rbKey&quot; : &quot;...&quot;,
&quot;message&quot; : &quot;...&quot;,
&quot;name&quot; : &quot;...&quot;
} ],
&quot;statusCode&quot; : 12345
}
</code>
</pre>
</div>
</div>
</div>
</div>
<footer class="footer">
<div class="container">
<p class="text-muted">Generated by <a href="http://enunciate.webcohesion.com">Enunciate</a>.</p>
</div>
</footer>
</div>
</div>
</div>
<!-- JavaScript placed at the end of the document so the pages load faster. -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<!-- Bootstrap core JavaScript
================================================== -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
<!-- prettify code blocks. see http://code.google.com/p/google-code-prettify/ -->
<script src="https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js" type="text/javascript"></script>
<script>
$(function() {
$(".clickable-row").click(function() {
window.document.location = $(this).data("href");
});
$('[data-toggle="tooltip"]').tooltip()
});
</script>
</body>
</html>