From b6eaeedb288deb7a4ac252e549095b0bfc83ee28 Mon Sep 17 00:00:00 2001 From: Hyun-Ju Vega <75808211+hyunjuV@users.noreply.github.com> Date: Fri, 20 Sep 2024 13:19:22 -0700 Subject: [PATCH] Update rest-initialize-node.adoc to fix wrong field/key name in syntax and example For the REST API shown, both the syntax and the example showed the wrong field/key name for the data service path -- it is just "path" in this specific REST API `/nodes/self/controller/settings` . The other names are correct -- "index_path", "eventing_path", and "cbas_path". Note that in the `/clusterInit` REST API, the field/key names are different. --- modules/rest-api/pages/rest-initialize-node.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/rest-api/pages/rest-initialize-node.adoc b/modules/rest-api/pages/rest-initialize-node.adoc index 6903ad734b..cc4a68d581 100644 --- a/modules/rest-api/pages/rest-initialize-node.adoc +++ b/modules/rest-api/pages/rest-initialize-node.adoc @@ -40,7 +40,7 @@ Per platform, the default data-folder locations for all services are: ---- curl -X POST http://:8091/nodes/self/controller/settings -u : - -d data_path= + -d path= -d index_path= -d cbas_path= -d eventing_path= @@ -64,7 +64,7 @@ The following example establishes the paths for the Data, Index, Analytics, and ---- curl -X POST \ http://10.142.181.103:8091/nodes/self/controller/settings \ - -d 'data_path=%2Fopt%2Fcouchbase%2Fvar%2Flib%2Fcouchbase%2Fdata&' \ + -d 'path=%2Fopt%2Fcouchbase%2Fvar%2Flib%2Fcouchbase%2Fdata&' \ -d 'index_path=%2Fopt%2Fcouchbase%2Fvar%2Flib%2Fcouchbase%2Fidata&' \ -d 'cbas_path=%2Fopt%2Fcouchbase%2Fvar%2Flib%2Fcouchbase%2Fadata&' \ -d 'eventing_path=%2Fopt%2Fcouchbase%2Fvar%2Flib%2Fcouchbase%2Fedata&'