]> review.fuel-infra Code Review - openstack-build/heat-build.git/commitdiff
Fix ReST API documentation for template validation
authorZane Bitter <zbitter@redhat.com>
Fri, 14 Dec 2012 21:23:44 +0000 (22:23 +0100)
committerZane Bitter <zbitter@redhat.com>
Fri, 14 Dec 2012 21:25:21 +0000 (22:25 +0100)
The user parameters are not used in template validation.

Change-Id: Iba438b2977f8029c0f0f7e6e65e853d23e4d2b0d
Signed-off-by: Zane Bitter <zbitter@redhat.com>
docs/api.md

index 2fe04da1f36e954260c424cb5324dd2978216df2..7631124bf44d3902ee9354a0fe3b9148d37cae6e 100644 (file)
@@ -149,10 +149,6 @@ POST /v1/{tenant_id}/validate
 
 {
     "template_url": "{template_url}",
-    "parameters": {
-        "{key1}": "{value1}",
-        "{key2}": "{value2}"
-    }
 }
 ```
 
@@ -161,7 +157,6 @@ Parameters:
 * `tenant_id` The unique identifier of the tenant or account
 * `template_url` The URL of the template to validate
 * `template` A JSON template to validate - this takes precendence over the `template_url` if both are supplied.
-* `keyn`, `valuen` User-defined parameters to pass to the Template
 
 List Stack Resources
 --------------------