You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by db...@apache.org on 2017/05/08 21:36:29 UTC
geode git commit: GEODE-2815 Incorrect Error Message in REST API docs
for {region}/{key} HTTP.GET command This closes #493
Repository: geode
Updated Branches:
refs/heads/develop b9bceb80e -> 5a1b06210
GEODE-2815 Incorrect Error Message in REST API docs for {region}/{key} HTTP.GET command
This closes #493
Project: http://git-wip-us.apache.org/repos/asf/geode/repo
Commit: http://git-wip-us.apache.org/repos/asf/geode/commit/5a1b0621
Tree: http://git-wip-us.apache.org/repos/asf/geode/tree/5a1b0621
Diff: http://git-wip-us.apache.org/repos/asf/geode/diff/5a1b0621
Branch: refs/heads/develop
Commit: 5a1b06210d756d7012d22b9e8841d390b6647857
Parents: b9bceb8
Author: Dave Barnes <db...@pivotal.io>
Authored: Fri May 5 14:37:07 2017 -0700
Committer: Dave Barnes <db...@pivotal.io>
Committed: Mon May 8 14:35:56 2017 -0700
----------------------------------------------------------------------
geode-docs/rest_apps/get_region_data.html.md.erb | 4 ++--
.../rest_apps/get_region_data_for_multiple_keys.html.md.erb | 2 +-
geode-docs/rest_apps/get_region_key_data.html.md.erb | 8 ++++----
3 files changed, 7 insertions(+), 7 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/geode/blob/5a1b0621/geode-docs/rest_apps/get_region_data.html.md.erb
----------------------------------------------------------------------
diff --git a/geode-docs/rest_apps/get_region_data.html.md.erb b/geode-docs/rest_apps/get_region_data.html.md.erb
index 7e7dd1a..4cae9cd 100644
--- a/geode-docs/rest_apps/get_region_data.html.md.erb
+++ b/geode-docs/rest_apps/get_region_data.html.md.erb
@@ -127,6 +127,6 @@ Date: Sat, 18 Jan 2014 21:03:08 GMT
| Status Code | Description |
|--------------------|----------------------------------------------------------------------------------------------------------------------------------|
-| 400 BAD REQUEST | Limit parameter **X** is not valid! The specified limit value must ALL or an integer. |
-| 404 NOT FOUND | Returned in region does not exist. |
+| 400 BAD REQUEST | Limit parameter **X** is not valid! The specified limit value must be ALL or an integer. |
+| 404 NOT FOUND | Returned if region does not exist. |
| 500 INTERNAL ERROR | Error encountered at Geode server. Check the HTTP response body for a stack trace of the exception. |
http://git-wip-us.apache.org/repos/asf/geode/blob/5a1b0621/geode-docs/rest_apps/get_region_data_for_multiple_keys.html.md.erb
----------------------------------------------------------------------
diff --git a/geode-docs/rest_apps/get_region_data_for_multiple_keys.html.md.erb b/geode-docs/rest_apps/get_region_data_for_multiple_keys.html.md.erb
index 4252ac2..43daa6a 100644
--- a/geode-docs/rest_apps/get_region_data_for_multiple_keys.html.md.erb
+++ b/geode-docs/rest_apps/get_region_data_for_multiple_keys.html.md.erb
@@ -213,7 +213,7 @@ Date: Sat, 18 Jan 2014 21:39:04 GMT
| Status Code | Description |
|-----------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| 400 BAD REQUEST | Returned if one or more of the supplied keys is not found in the region and ignoreMissingKey=false (default if parameter is not specified); returned if the specified value for the ignoreMissingKey parameter is a value other than 'true' or 'false'. |
-| 404 NOT FOUND | If the specified region does not exist. |
+| 404 NOT FOUND | The specified region does not exist. |
## Example Error Response
http://git-wip-us.apache.org/repos/asf/geode/blob/5a1b0621/geode-docs/rest_apps/get_region_key_data.html.md.erb
----------------------------------------------------------------------
diff --git a/geode-docs/rest_apps/get_region_key_data.html.md.erb b/geode-docs/rest_apps/get_region_key_data.html.md.erb
index 8549ee0..fce7501 100644
--- a/geode-docs/rest_apps/get_region_key_data.html.md.erb
+++ b/geode-docs/rest_apps/get_region_key_data.html.md.erb
@@ -80,8 +80,8 @@ Date: Sat, 18 Jan 2014 21:27:59 GMT
## Error Codes
-| Status Code | Description |
-|---------------------------|----------------------------------------------------------------------------------------------------------------------------------|
-| 400 BAD REQUEST | Returned if the supplied key is not found in the region. |
-| 404 NOT FOUND | Returned if key does not exist for the region. |
+| Status Code | Description |
+|---------------------------|-----------------------------------------------------------------------------------------------------|
+| 400 BAD REQUEST | Returned if the supplied key is not found in the region. |
+| 404 NOT FOUND | Returned if the region or specified key is not found. |
| 500 INTERNAL SERVER ERROR | Error encountered at Geode server. Check the HTTP response body for a stack trace of the exception. |