update API to not return existing folders when error in request occurs

Signed-off-by: Paul Tirk <paultirk@paultirk.com>
This commit is contained in:
Paul Tirk 2021-01-09 18:10:45 +01:00 committed by Sean Molenaar
parent 566a21b4a8
commit 26e435fb05
1 changed files with 2 additions and 2 deletions

View File

@ -358,7 +358,7 @@ Status codes:
* **code**: 1: folder name is empty
* **409**: Folder with given name exists already
In case of an HTTP 200 or 409, the created or already existing folder is returned in full in the response, e.g.:
In case of an HTTP 200, the created or already existing folder is returned in full in the response, e.g.:
```js
{
@ -395,7 +395,7 @@ Status codes:
* **409**: Folder with given name exists already
* Other ownCloud errors, see [Response Format](#response-format)
In case of an HTTP 200 or 409, the changed or already existing folder is returned in full in the response, e.g.:
In case of an HTTP 200, the changed or already existing folder is returned in full in the response, e.g.:
```js
{