Shares a folder of this computer, with its subfolders or not.
POST/shared/directories
A whole drive, the user's home folder, Documents, the desktop or a system folder may hold personal or system files: it is shared only when everything is true. Asked without it, the call is a conflict, so that a caller can ask its user first.
Request
Responses
- 200
- 400
- 409
- default
Done.
The request does not follow this document, or names something the engine refuses.
The engine's state does not allow it now.
Any other failure: 401 without the right token (with WWW-Authenticate: Bearer), 404 for an
unknown path, 405 for a method the path does not take (with Allow), 429 after too many wrong
tokens, 500 when the request failed, 503 when the engine cannot answer in time.
Response Headers
WWW-Authenticate
Sent with 401 and 429.
Allow
Sent with 405, the methods the path takes.