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
1 changed files with 33 additions and 0 deletions

View File

@ -36,6 +36,39 @@ description: |-
</dd>
</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
<dl>