owncloud / ocis

:atom_symbol: ownCloud Infinite Scale Stack
https://doc.owncloud.com/ocis/next/
Apache License 2.0
1.37k stars 180 forks source link

fixed endpoint for app provider apps #9489

Closed kulmann closed 2 months ago

kulmann commented 3 months ago

Description

The endpoint for app provider mimetype to app mappings gets announced via capabilities. This makes it unnecessarily complex in web to fetch the app provider listing and dynamically register the web-apps according to the listing. It would be far easier if it was a fixed endpoint (not announced by capability but a fixed route in the ocis proxy) which would return an empty list if no app provider apps are registered. Additionally it would be nice if the endpoint would work unauthenticated.

User Stories

Value

DX for the web client

Acceptance Criteria

Definition of ready

Definition of done

kulmann commented 2 months ago

@micbar all 3 acceptance criteria are already fulfilled, correct? What about the third, returning an empty list if no app provider is set up at all, does that work as well?

micbar commented 2 months ago

Correct. It will always show up, can be accessed unauthenticated and returns an empty json body if apps are not or not yet available.

kulmann commented 2 months ago

Thank you! Then we can close here 😎