Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

align more OCS error responses with oc10 #3279

Merged
merged 1 commit into from
Sep 28, 2022

Conversation

butonic
Copy link
Contributor

@butonic butonic commented Sep 27, 2022

We aligned more OCS error responses with oc10

see owncloud/ocis#1799

a curl -X POST -u admin:admin https://cloud.ocis.test/ocs/v1.php/apps/files_sharing/api/v1/shares -d shareType=3 -d path=nonExisting -v -k now returns

< HTTP/2 200 
< content-type: text/xml; charset=utf-8
< date: Tue, 27 Sep 2022 15:34:43 GMT
< ocs-api-version: 1
< vary: Origin
< content-length: 175
< 
<?xml version="1.0" encoding="UTF-8"?>
* Connection #0 to host cloud.ocis.test left intact
<ocs><meta><status>failure</status><statuscode>404</statuscode><message>Wrong path, file/folder doesn&#39;t exist</message></meta></ocs>

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
@butonic butonic marked this pull request as ready for review September 27, 2022 19:53
@butonic butonic self-assigned this Sep 27, 2022
@butonic butonic requested review from aduffeck, C0rby, dragonchaser, micbar and rhafer and removed request for a team, labkode, ishank011, glpatcern and dragonchaser September 27, 2022 19:54
@rhafer rhafer merged commit 11d0693 into cs3org:edge Sep 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants