Merge pull request #904 from hashicorp/policy-doc

Update documentation with policy fetching information.
This commit is contained in:
Jeff Mitchell 2016-01-05 10:26:53 -06:00
commit d5c72f2083

View file

@ -36,6 +36,39 @@ description: |-
</dd> </dd>
</dl> </dl>
# /sys/policy/
## GET
<dl>
<dt>Description</dt>
<dd>
Retrieve the rules for the named policy.
</dd>
<dt>Method</dt>
<dd>GET</dd>
<dt>URL</dt>
<dd>`/sys/policy/<name>`</dd>
<dt>Parameters</dt>
<dd>
None
</dd>
<dt>Returns</dt>
<dd>
```javascript
{
"rules": "path..."
}
</dd>
</dl>
## PUT ## PUT
<dl> <dl>