summaryrefslogtreecommitdiffstats
path: root/API.md
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2015-04-16 16:44:51 -0400
committerSimo Sorce <simo@redhat.com>2015-04-20 16:07:14 -0400
commitb9e31bf1cc44bdfeaf0454dadb578c4dbb8d588b (patch)
tree5abfb99f7669f49cdece5c3b15c632130aaf42f4 /API.md
parentf77b0158f87a13efc1d315b1bcb58cccf4406e88 (diff)
downloadcustodia-b9e31bf1cc44bdfeaf0454dadb578c4dbb8d588b.tar.gz
custodia-b9e31bf1cc44bdfeaf0454dadb578c4dbb8d588b.tar.xz
custodia-b9e31bf1cc44bdfeaf0454dadb578c4dbb8d588b.zip
Move message parsing and validation
Create a message module to deal with message types and validation. Signed-off-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'API.md')
-rw-r--r--API.md3
1 files changed, 2 insertions, 1 deletions
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