From b9e31bf1cc44bdfeaf0454dadb578c4dbb8d588b Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Thu, 16 Apr 2015 16:44:51 -0400 Subject: Move message parsing and validation Create a message module to deal with message types and validation. Signed-off-by: Simo Sorce --- API.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'API.md') diff --git a/API.md b/API.md index b7395ab..91d9f2b 100644 --- a/API.md +++ b/API.md @@ -61,7 +61,7 @@ Returns: - 401 if authentication is necessary - 403 if access to the key is forbidden - 404 if no key was found -- 406 not acceptable, key exists but does not match type requested +- 406 not acceptable, key type unknown/not permitted Storing keys @@ -81,6 +81,7 @@ Returns: - 403 if access to the key is forbidden - 404 one of the elements of the path is not a valid container - 405 if the target is a directory instead of a key (path ends in '/') +- 406 not acceptable, key type unknown/not permitted - 409 if the key already exists -- cgit