From 3a96347fe216f69f5d1d7e32125971d545144c5b Mon Sep 17 00:00:00 2001 From: Brian Rosmaita Date: Mon, 23 Jan 2017 19:01:53 +0000 Subject: [PATCH] Eliminate reference to metadefs 'namespace_id' In most places, the api-ref refers to the 'namespace_name' in URLs, but in two places in the metadefs-namespaces-properties file, the term 'namespace_id' is used. This patch fixes those two occurrences in the interest of consistency, but also because it is causing a warning that's interpreted as an error in the latest version of os_api_ref [0]. [0] http://lists.openstack.org/pipermail/openstack-dev/2017-January/110606.html Change-Id: I86435a216c9c8d8bd391fb662049662d7d303ae5 --- api-ref/source/v2/metadefs-namespaces-properties.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api-ref/source/v2/metadefs-namespaces-properties.inc b/api-ref/source/v2/metadefs-namespaces-properties.inc index 0a518bce..4059cbcf 100644 --- a/api-ref/source/v2/metadefs-namespaces-properties.inc +++ b/api-ref/source/v2/metadefs-namespaces-properties.inc @@ -11,7 +11,7 @@ properties. Create property ~~~~~~~~~~~~~~~ -.. rest_method:: POST /v2/metadefs/namespaces/{namespace_id}/properties +.. rest_method:: POST /v2/metadefs/namespaces/{namespace_name}/properties Creates a property definition in a namespace. @@ -103,7 +103,7 @@ Request .. rest_parameters:: metadefs-parameters.yaml - - namespace_id: namespace_name + - namespace_name: namespace_name There is no request body.