Skip to content
This repository has been archived by the owner on Feb 20, 2019. It is now read-only.

Document required HTTP/WebDAV methods (in FAQ?) #2753

Closed
michaelstingl opened this issue Dec 8, 2016 · 8 comments
Closed

Document required HTTP/WebDAV methods (in FAQ?) #2753

michaelstingl opened this issue Dec 8, 2016 · 8 comments

Comments

@michaelstingl
Copy link
Contributor

michaelstingl commented Dec 8, 2016

Today, a user asked me about the HTTP/WebDAV methods ownCloud uses. Could we document it somewhere?

This are the answers I've got from my colleagues:

@davivel

mobile clients use PROPFIND, MKCOL, COPY & MOVE from that list

@guruz

same for desktop.. normal webdav clients are supposed to use OPTIONS too

@davivel

besides of HTTP: GET, PUT, POST, DELETE ; we also use HEAD sometimes
New Messages

@PVince81

also REPORT
DELETE, PUT, POST

00006724

@PVince81
Copy link
Contributor

PVince81 commented Dec 8, 2016

@RealRancor I thought we had this somewhere but somehow couldn't find it

@ghost
Copy link

ghost commented Dec 8, 2016

@PVince81 Nope, there is no such list in the documentation. I'm using something like:

if ($request_method !~ ^(DELETE|PROPFIND|PUT|GET|HEAD|POST|OPTIONS|REPORT|MKCOL|MOVE|PROPPATCH|COPY|PATCH)$ ) {
      return 405;
}

in my nginx config without any issues.

@settermjd
Copy link
Contributor

I'll get that done. Thanks for raising it.

@davivel
Copy link
Contributor

davivel commented Dec 9, 2016

This could help:

https://github.com/cernbox/smashbox/blob/master/protocol/protocol.md

@settermjd
Copy link
Contributor

Any suggestions on where best to put this documentation? @michaelstingl @PVince81

@PVince81
Copy link
Contributor

Developer docs, but not sure where. Maybe a new section about HTTP APIs ?

@PVince81
Copy link
Contributor

could be something similar / close to the OCS Share API page

@felixboehm felixboehm modified the milestones: Documentation Backlog, backlog Sep 4, 2017
@voroyam
Copy link
Contributor

voroyam commented Jul 12, 2018

closing, fix will be in the collection issue

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants