From 0ede3ae1159f4ab71f768c9b2edc905d1fab7fac Mon Sep 17 00:00:00 2001 From: Hannah Hunter Date: Mon, 11 Apr 2022 12:23:13 -0500 Subject: [PATCH 1/2] error code fixes Signed-off-by: Hannah Hunter --- daprdocs/content/en/reference/api/actors_api.md | 2 +- daprdocs/content/en/reference/api/secrets_api.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/daprdocs/content/en/reference/api/actors_api.md b/daprdocs/content/en/reference/api/actors_api.md index d783bd745e9..c75c561c5c8 100644 --- a/daprdocs/content/en/reference/api/actors_api.md +++ b/daprdocs/content/en/reference/api/actors_api.md @@ -512,8 +512,8 @@ DELETE http://localhost:/actors// Code | Description ---- | ----------- 200 | Request successful +400 | Actor not found 500 | Request failed -404 | Actor not found #### URL Parameters diff --git a/daprdocs/content/en/reference/api/secrets_api.md b/daprdocs/content/en/reference/api/secrets_api.md index 84c39467d34..4e42113b076 100644 --- a/daprdocs/content/en/reference/api/secrets_api.md +++ b/daprdocs/content/en/reference/api/secrets_api.md @@ -87,9 +87,9 @@ curl http://localhost:3500/v1.0/secrets/vault/db-secret Code | Description ---- | ----------- 200 | OK -204 | Secret not found 400 | Secret store is missing or misconfigured 403 | Access denied +404 | Secret not found 500 | Failed to get secret or no secret stores defined ### Examples From 045e357d2e2b525c8e9cb095436bbe16cfd417f0 Mon Sep 17 00:00:00 2001 From: Hannah Hunter Date: Thu, 21 Apr 2022 11:48:50 -0500 Subject: [PATCH 2/2] reverting changes to secrets api Signed-off-by: Hannah Hunter --- daprdocs/content/en/reference/api/secrets_api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daprdocs/content/en/reference/api/secrets_api.md b/daprdocs/content/en/reference/api/secrets_api.md index 4e42113b076..84c39467d34 100644 --- a/daprdocs/content/en/reference/api/secrets_api.md +++ b/daprdocs/content/en/reference/api/secrets_api.md @@ -87,9 +87,9 @@ curl http://localhost:3500/v1.0/secrets/vault/db-secret Code | Description ---- | ----------- 200 | OK +204 | Secret not found 400 | Secret store is missing or misconfigured 403 | Access denied -404 | Secret not found 500 | Failed to get secret or no secret stores defined ### Examples