Hello,

I can confirm that I'd be interested to have a REST API as you describe it (especially user/group management functionality). But I am not an owncloud dev, so I can't really comment on your questions. Hopefully someone else will...

On 11/13/13 15:56, Vaster Dev wrote:
Hi,

I believe that there is -or will soon be- a great demand for a complete REST API that will allow developers to integrate core ownCloud functionality (like creating and sharing folders, uploading and deleting documents, registering a user or updating her details etc.) into their apps.
Right now, there is an external OCS API which one can use to register his routes and expose some data from his app. However this requires writing an ownCloud app and doesn’t exist as an autonomous set of REST calls offered by ownCloud core.
The only attempt on this direction is the OCS Share Api which gives access to file/folder sharing functionality from an external application. If someone wants to perform other types of operations on files & folders he will have to use webDav.

First of all, am I missing something? Is the one I describe more or less the current situation?
If yes, in my opinion, there is a great need for at least the following REST calls:

- Create a user/group
- Update user details
- Insert/Delete/List user(s) from group(s)
- Delete a user/group
- Check if user/group exists (this route already exists for users)
- List all users/groups
- Get user/group information
- List folders
- List files inside a folder
- Create a folder
- Upload a file inside a folder
- Delete a folder or a file
- Move a folder or a file
- Copy a folder or a file
- Get shares of user/Get shares of a file or folder/Get info/Create/Update/Delete a share (already exists: http://doc.owncloud.org/server/5.0/deve ... e-api.html - I believe “get all shares” method should change to get user login credentials as input)
- Get version information of a file
- Restore an older version of a file[/list][/list][/list]

These are some calls I can think of off the top of my head. Is anyone working on this functionality? Are there any pitfalls/problems that wouldn’t allow someone to create those methods?
If anyone has more ideas please contribute them here.

Thanx!


_______________________________________________
Owncloud mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/owncloud


--

Mit freundlichen Grüßen
Edmund Urbani
Liland IT Team

Email: [email protected]

Liland IT GmbH ...does IT better
Tel: +43 463 220111
Fax: +43 463 220111-33
Tel(GER): +49 221 65028588

Find us at Facebook http://facebook.com/Lilandit
http://green-badges.com
http://iventcloud.com
http://Lilandit.com

Copyright © 2013, Liland IT GmbH

Diese Mail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen.
Wenn Sie nicht der richtige Adressat sind oder diese Email irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.

This email may contain confidential and/or privileged information.
If you are not the intended recipient (or have received this email in error) please notify the sender immediately and destroy this email. Any unauthorised copying, disclosure or distribution of the material in this email is strictly forbidden.


_______________________________________________
Owncloud mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/owncloud

Reply via email to