Skip to content
This repository was archived by the owner on Mar 19, 2024. It is now read-only.
This repository was archived by the owner on Mar 19, 2024. It is now read-only.

About OCS requests and handlers #132

Closed

Description

@daorte

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 with index.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

Activity

  1. daorte commented on Aug 29, 2016

    @daorte
    Author

    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,

  2. JuancaG05 commented on May 30, 2023

    @JuancaG05
    Contributor

    Outdated, closing here 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions