[Pkg-owncloud-commits] [owncloud-doc] 09/80: add new error codes
David Prévot
taffit at moszumanska.debian.org
Fri Jul 4 02:54:48 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository owncloud-doc.
commit 4aa529a4dfc176c6bfa1a2772e841e2ff50de1db
Author: Bjoern Schiessle <schiessle at owncloud.com>
Date: Tue Jan 28 16:59:41 2014 +0100
add new error codes
---
developer_manual/core/ocs-share-api.rst | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/developer_manual/core/ocs-share-api.rst b/developer_manual/core/ocs-share-api.rst
index 0de3062..4f97541 100644
--- a/developer_manual/core/ocs-share-api.rst
+++ b/developer_manual/core/ocs-share-api.rst
@@ -20,6 +20,7 @@ Get all shares from the user.
Statuscodes:
* 100 - successful
+* 404 - couldn't fetch shares
Get Shares from a specific file or folder
-----------------------------------------
@@ -40,6 +41,7 @@ Get all shares from a given file/folder.
Statuscodes
* 100 - successful
+* 400 - not a directory (if the 'subfile' argument was used)
* 404 - file doesn't exist
Get information about a known Share
@@ -82,6 +84,8 @@ Share a file/folder with a user/group or as public link.
Statuscodes:
* 100 - successful
+* 400 - unknown share type
+* 403 - public upload was disabled by the admin
* 404 - file couldn't be shared
Delete Share
@@ -117,4 +121,6 @@ Note that only one of "password" or "publicUpload" can be specified at once.
Statuscodes:
* 100 - successful
+* 400 - wrong or no update parameter given
+* 403 - public upload disabled by the admin
* 404 - couldn't update share
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-doc.git
More information about the Pkg-owncloud-commits
mailing list