android-library
android-library copied to clipboard
About OCS requests and handlers
Actual behaviour
- Using Fiddler with new android 2.1.0, i can see there are new request to
/owncloud/index.php/ocs/cloud/user?format=json
withindex.php
acting as a handler of/ocs/cloud/user
requests.
But, there are other requests to ocs
like /owncloud/ocs/v1.php/cloud/capabilities?format=json
and /owncloud/ocs/v1.php/apps/files_sharing/api/v1/shares?path=/&reshares=true&subfiles=true
that does not uses index.php
as handler, these old ones uses v1.php
.
Why not to use the same v1.php
to handle /cloud/user
requests or create a new handler inside ocs
folder and get in one place all the ocs controllers?
Environment data
ownCloud app version: android 2.1.0
ownCloud server version: 9.1.0.15
The functionality used with /owncloud/index.php/ocs/cloud/user?format=json
is not already included in the User Provisioning API? https://doc.owncloud.org/server/9.1/admin_manual/configuration_user/user_provisioning_api.html
Why not to use this already existent API (with the /ocs/v1.php handler) like the shares functionality?
Regards,
Outdated, closing here 🚀