Skip to content

Commit

Permalink
add new file capabilties to ocs for the app provider (#2379)
Browse files Browse the repository at this point in the history
  • Loading branch information
wkloucek authored Dec 15, 2021
1 parent 8236ffa commit f76d428
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions changelog/unreleased/enhancement-add-new-file-capability.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Enhancement: add new file url of the app provider to the ocs capabilities

We've added the new file capability of the app provider to the ocs capabilities, so that
clients can discover this url analogous to the app list and file open urls.

https://github.com/cs3org/reva/pull/2379
https://github.com/owncloud/ocis/pull/2884
https://github.com/owncloud/web/pull/5890#issuecomment-993905242
1 change: 1 addition & 0 deletions internal/http/services/owncloud/ocs/data/capabilities.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ type CapabilitiesAppProvider struct {
Version string `json:"version" xml:"version" mapstructure:"version"`
AppsURL string `json:"apps_url" xml:"apps_url" mapstructure:"apps_url"`
OpenURL string `json:"open_url" xml:"open_url" mapstructure:"open_url"`
NewURL string `json:"new_url" xml:"new_url" mapstructure:"new_url"`
}

// CapabilitiesFiles TODO this is storage specific, not global. What effect do these options have on the clients?
Expand Down

0 comments on commit f76d428

Please sign in to comment.