[Owncloud] ownCloud API

Evert Pot evert at rooftopsolutions.nl
Fri Jun 29 12:34:45 UTC 2012


On Jun 29, 2012, at 2:21 PM, Jörn Friedrich Dreyer wrote:
> > Another benefit is with using OCS is that we already have a full working ocs REST interface in ocs.php
> I had a short look at the specification and found it to be a true REST API. I would use PUT to post a new status, but thats about it. Nice work!

PUT is only for replacing the resource at the url you specified.

So this implies that you must know the url of the new status you're creating. This is why POST is generally used for 'appending' new items.

Evert


More information about the Owncloud mailing list