OCM-API icon indicating copy to clipboard operation
OCM-API copied to clipboard

application module

Open labkode opened this issue 9 years ago • 5 comments

The application endpoints are very ownCloud/NextCloud related. A better endpoint would be a capabilities one where clients could check which modules of the spec (shares, federatedsharing, privatedata ..) are enabled or not to behave accordingly.

Is this the objective of the application endpoint?

labkode avatar Nov 17 '16 13:11 labkode

So the idea is that a server first queries the /ocs-provider/ endpoint which provides the realy API endpoints. This gives different implementation the needed flexibility because of different architectures or technologies.

karlitschek avatar Nov 18 '16 13:11 karlitschek

The application endpoints are very ownCloud/NextCloud related. A better endpoint would be a capabilities one where clients could check which modules of the spec (shares, federatedsharing, privatedata ..) are enabled or not to behave accordingly.

Is this the objective of the application endpoint?

WebDAV e.g. handles this within responses to OPTION requests. Furthermore a simple NotFound to an API endpoint can let the client know that this feature is not enabled.

So the idea is that a server first queries the /ocs-provider/ endpoint which provides the realy API endpoints. This gives different implementation the needed flexibility because of different architectures or technologies.

From my pov this is service discovery which is handled by the well-known RFC - https://tools.ietf.org/html/rfc5785 - no need to invent something new.

DeepDiver1975 avatar Nov 18 '16 19:11 DeepDiver1975

Added the wontfix label because it's out of scope.

dvh avatar Nov 28 '16 15:11 dvh

Added the wontfix label because it's out of scope.

service discovery should be part of the spec from my pov

DeepDiver1975 avatar Nov 29 '16 08:11 DeepDiver1975

Reopened for further discussion, we'll use the Projects feature to determine scope.

dvh avatar Dec 05 '16 10:12 dvh

Closed by https://github.com/cs3org/OCM-API/pull/59

glpatcern avatar Jul 17 '23 13:07 glpatcern