REST API development


#1

Hi Team,
Iam new to owncloud, I need api documentation or sample rest api code to create users, share files, upload files using owncloud api. Please guide,

Regards,
Sif


#2

Did you check the documentation? Whats missing in it?
https://doc.owncloud.org/server/9.1/admin_manual/configuration_user/user_provisioning_api.html
https://doc.owncloud.org/server/9.1/developer_manual/core/ocs-share-api.html

file/folder operations are done through WebDAV!


#3


Hi Team,
I need to develop rest api for owncloud, using php , I followed your first link and tried to create a user , it failed. and
could you pleasee guide,

Error:--
failure 999 Invalid query, please check the syntax. API specifications are here: http://www.freedesktop.org/wiki/Specifications/open-collaboration-services. DEBUG OUTPUT:


#4

I tried another url 52.23.173.54/ocs/v1.php/apps/files_sharing/api/v1 it is showing 404 error. Whether I need to install any ?
52.23.173.54/ocs/ folder has 4 files :--v1.php, v2.php, providers.php, routes.php. I am using ubuntu server 12.04 it is on amazon aws.


#5

Hi Team,
Any reply on my queries please.