Add documentation for new clientallocations endpoint

This commit is contained in:
Ivo Verberk
2016-01-29 20:28:16 +01:00
parent 60d8180279
commit f50b3be91a

View File

@@ -311,6 +311,44 @@ be specified using the `?region=` query parameter.
</dd>
</dl>
<dl>
<dt>Description</dt>
<dd>
Query the allocations belonging to a single node. This endpoint only returns
a map from allocation id to modifyindex and is primarily used by the client
to determine which allocations need to be updated.
</dd>
<dt>Method</dt>
<dd>GET</dd>
<dt>URL</dt>
<dd>`/v1/node/<id>/clientallocations`</dd>
<dt>Parameters</dt>
<dd>
None
</dd>
<dt>Blocking Queries</dt>
<dd>
[Supported](/docs/http/index.html#blocking-queries)
</dd>
<dt>Returns</dt>
<dd>
```javascript
{
"d66ea8d7-1d4c-119e-46b3-e23713a4ab72": 9,
"abf34c35-1d4c-119e-46b3-e23713a4ab72": 10
}
```
</dd>
</dl>
## PUT / POST
<dl>