-
Notifications
You must be signed in to change notification settings - Fork 183
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
Return id of created folder in mkcol request #9618
Comments
urgh webdav is so sync ... why can't we have nice things like an event stream that clients can listen to to get notified when a file or folder is created... then they could issue a request and show a placleholder until the eventream says "yo! request xyz asked to create a folder. I created it with id yadayada and etag blarg" at least let us clients tell the server to allow doing this kind of async requests. oh wait odata already specified how to do that using websockets and |
Sounds like a good idea, but needs quite some work, especially on the client side. Also, it would be great if the server was capable of dealing with creating a folder tree structure for an upload. Because currently, the client sends a dozen of Anyway, can we still get cs3org/reva#4767 merged for now? |
We have that. We call it |
What is the issue in just returning the id? Always keep it as simple as possible. |
It forces the folder creation to be atomic. I'm trying to to get more requests into a CQRS pattern, but that won't happen on webdav. So, we need to update the CS3 API and add mtime and etag properties to the |
It would be great if webdav
mkcol
requests could return the id of the newly created folder. A webdavPUT
request e.g. returns the file id as a headerOc-Fileid
. Can we have the same or similar formkcol
s?This is needed for the web client to immediately fetch a newly created folder when working with id-based requests.
The text was updated successfully, but these errors were encountered: