<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hello,<br>
<br>
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...<br>
<br>
On 11/13/13 15:56, Vaster Dev wrote:<br>
</div>
<blockquote
cite="mid:CAJYZoXcZTB-CnrxVZ3JHc-=Y8uSfgwsVsfgHK1C2MHqdTuA5tw@mail.gmail.com"
type="cite">
<div dir="ltr">Hi,<br>
<br>
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.<br>
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.<br>
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.<br>
<br>
First of all, am I missing something? Is the one I describe more
or less the current situation?<br>
If yes, in my opinion, there is a great need for at least the
following REST calls:<br>
<br>
- Create a user/group<br>
- Update user details<br>
- Insert/Delete/List user(s) from group(s)<br>
- Delete a user/group<br>
- Check if user/group exists (this route already exists for
users)<br>
- List all users/groups<br>
- Get user/group information<br>
- List folders<br>
- List files inside a folder<br>
- Create a folder<br>
- Upload a file inside a folder<br>
- Delete a folder or a file<br>
- Move a folder or a file<br>
- Copy a folder or a file<br>
- Get shares of user/Get shares of a file or folder/Get
info/Create/Update/Delete a share (already exists: <a
moz-do-not-send="true" class=""
href="http://doc.owncloud.org/server/5.0/developer_manual/core/ocs-share-api.html">http://doc.owncloud.org/server/5.0/deve
... e-api.html</a> - I believe “get all shares” method should
change to get user login credentials as input)<br>
- Get version information of a file<br>
- Restore an older version of a file[/list][/list][/list]<br>
<br>
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? <br>
If anyone has more ideas please contribute them here.<br>
<br>
Thanx!</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Owncloud mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Owncloud@kde.org">Owncloud@kde.org</a>
<a class="moz-txt-link-freetext" href="https://mail.kde.org/mailman/listinfo/owncloud">https://mail.kde.org/mailman/listinfo/owncloud</a>
</pre>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<meta charset="utf-8">
<!-- Diese Datei in den eigenen Signaturordner kopieren und
mit Suchen - Ersetzen Edmund und Urbani ersetzen oder drüberschreiben, abspeichern. -->
<p style="font-family: arial, serif; color:black; "> Mit
freundlichen Grüßen<br>
Edmund Urbani<br>
Liland IT Team<br>
<br>
<!-- Nichtzutreffendes entfernen! --> Email: <a
href="mailto:Edmund.Urbani@lilandit.com">Edmund.Urbani@Lilandit.com
</a> </p>
<p style="font-family: arial, serif;font-style: italic;
color:black;font-size:14 "> Liland IT GmbH ...does IT better<br>
Tel: +43 463 220111<br>
Fax: +43 463 220111-33<br>
Tel(GER): +49 221 65028588<br>
<br>
Find us at Facebook <a href="http://facebook.com/Lilandit"
target="_blank">http://facebook.com/Lilandit</a><br>
<a href="http://green-badges.com" target="_blank">http://green-badges.com</a><br>
<a href="http://iventcloud.com" target="_blank">http://iventcloud.com</a><br>
<a href="http://www.LilandIT.com" target="_blank">http://Lilandit.com<br>
<br>
</a> <a href="http://www.LilandIT.com" target="_blank"> <img
src="cid:part7.06020705.05030901@LilandIT.com"></a> </p>
<p style="font-family: arial, serif;font-style: italic;
color:black;font-size:14 "> Copyright © 2013, Liland IT GmbH<br>
<br>
Diese Mail enthaelt vertrauliche und/oder rechtlich geschuetzte
Informationen.<br>
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.<br>
<br>
This email may contain confidential and/or privileged
information.<br>
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. </p>
</div>
</body>
</html>