diff options
author | Simo Sorce <simo@redhat.com> | 2015-04-16 16:44:51 -0400 |
---|---|---|
committer | Simo Sorce <simo@redhat.com> | 2015-04-20 16:07:14 -0400 |
commit | b9e31bf1cc44bdfeaf0454dadb578c4dbb8d588b (patch) | |
tree | 5abfb99f7669f49cdece5c3b15c632130aaf42f4 /API.md | |
parent | f77b0158f87a13efc1d315b1bcb58cccf4406e88 (diff) | |
download | custodia-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.md | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |