cs3org / OCM-API

OpenCloudMesh API
38 stars 11 forks source link

application module #18

Closed labkode closed 1 year ago

labkode commented 7 years ago

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?

karlitschek commented 7 years ago

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.

DeepDiver1975 commented 7 years ago

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.

dvh commented 7 years ago

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

DeepDiver1975 commented 7 years ago

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

service discovery should be part of the spec from my pov

dvh commented 7 years ago

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

glpatcern commented 1 year ago

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