From 762a349802e710e947dc47955ffb338d28f073d9 Mon Sep 17 00:00:00 2001 From: Sri Lasya Malladi <40951986+srilasya02@users.noreply.github.com> Date: Fri, 22 Sep 2023 15:28:17 -0700 Subject: [PATCH] Updated configuration_api.md Changed the Configuration API response from an array to dictionary Signed-off-by: Sri Lasya Malladi <40951986+srilasya02@users.noreply.github.com> --- daprdocs/content/en/reference/api/configuration_api.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/daprdocs/content/en/reference/api/configuration_api.md b/daprdocs/content/en/reference/api/configuration_api.md index 3fe4ed283ea..1d0233af57f 100644 --- a/daprdocs/content/en/reference/api/configuration_api.md +++ b/daprdocs/content/en/reference/api/configuration_api.md @@ -65,7 +65,11 @@ curl -X GET 'http://localhost:3500/v1.0/configuration/mystore?key=myConfigKey' > The above command returns the following JSON: ```json -[{"key":"myConfigKey","value":"myConfigValue"}] +{ + "myConfigKey": { + "value":"myConfigValue" + } +} ``` ## Subscribe Configuration