From 934937f2522d96e9978cfe0b62c2630ac4f98bbf Mon Sep 17 00:00:00 2001 From: Mahmood Ali Date: Mon, 9 Sep 2019 13:48:58 -0700 Subject: [PATCH] website: document Quota field in ns payloads --- website/source/api/namespaces.html.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/website/source/api/namespaces.html.md b/website/source/api/namespaces.html.md index 6a621c12a..e130fe36b 100644 --- a/website/source/api/namespaces.html.md +++ b/website/source/api/namespaces.html.md @@ -54,13 +54,15 @@ $ curl \ "CreateIndex": 31, "Description": "Production API Servers", "ModifyIndex": 31, - "Name": "api-prod" + "Name": "api-prod", + "Quota": "" }, { "CreateIndex": 5, "Description": "Default shared namespace", "ModifyIndex": 5, - "Name": "default" + "Name": "default", + "Quota": "" } ] ``` @@ -98,6 +100,7 @@ $ curl \ { "CreateIndex": 31, "Description": "Production API Servers", + "Quota": "", "Hash": "N8WvePwqkp6J354eLJMKyhvsFdPELAos0VuBfMoVKoU=", "ModifyIndex": 31, "Name": "api-prod" @@ -128,12 +131,15 @@ The table below shows this endpoint's support for - `Description` `(string: "")` - Specifies an optional human-readable description of the namespace. +- `Quota` `(string: "")` - Specifies an quota to attach to the namespace. + ### Sample Payload ```javascript { "Name": "api-prod", - "Description": "Production API Servers" + "Description": "Production API Servers", + "Quota": "prod-quota" } ```