From f50b3be91a873f89fb5954275efdf7208afb159c Mon Sep 17 00:00:00 2001 From: Ivo Verberk Date: Fri, 29 Jan 2016 20:28:16 +0100 Subject: [PATCH] Add documentation for new clientallocations endpoint --- website/source/docs/http/node.html.md | 38 +++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/website/source/docs/http/node.html.md b/website/source/docs/http/node.html.md index 794e0283a..765d7cb7f 100644 --- a/website/source/docs/http/node.html.md +++ b/website/source/docs/http/node.html.md @@ -311,6 +311,44 @@ be specified using the `?region=` query parameter. +
+
Description
+
+ 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. +
+ +
Method
+
GET
+ +
URL
+
`/v1/node//clientallocations`
+ +
Parameters
+
+ None +
+ +
Blocking Queries
+
+ [Supported](/docs/http/index.html#blocking-queries) +
+ +
Returns
+
+ + ```javascript + { + "d66ea8d7-1d4c-119e-46b3-e23713a4ab72": 9, + "abf34c35-1d4c-119e-46b3-e23713a4ab72": 10 + } + ``` + +
+
+ + ## PUT / POST