API: Refactor directory API
- Rename routes to fit RESTful concept
- Use DELETE when deleting a directory
- Archive and delete directory routes now return an array of parent directory
- Cleanup code
WebClient: Modify since refactor of directory API
- Use proper routes
- Use data variable when archiving or deleting a directory
- Fix typo
Should be directories instead of directory in API
API: Refactor files API
- Rename file to files
- Add proper DELETE route to delete a file an return an array of content in parent directory
Typos in previous commit
WebClient: Apply changes with recent modifications of files api
Fix typos in webclient models and api
Fix typos in webclient models and api again