Skip to content

Commit

Permalink
enhancement: add search capability
Browse files Browse the repository at this point in the history
  • Loading branch information
fschade committed Oct 20, 2023
1 parent 4565fd5 commit 5d7de30
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ We have added the ability to hide shares through the
ocs/v2.php/apps/files_sharing/api/v1/shares/pending/ endpoint
by appending a POST-Variable called hide which can be true or false.

https://github.com/cs3org/reva/pull/4194/files
https://github.com/cs3org/reva/pull/4194
5 changes: 5 additions & 0 deletions changelog/unreleased/add-search-capability.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Enhancement: Add search capability

We have added the ability to define search specific capabilities.

https://github.com/cs3org/reva/pull/4271
7 changes: 6 additions & 1 deletion internal/http/services/owncloud/ocs/data/capabilities.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,13 @@ type Capabilities struct {
Spaces *Spaces `json:"spaces,omitempty" xml:"spaces,omitempty" mapstructure:"spaces"`
Graph *CapabilitiesGraph `json:"graph,omitempty" xml:"graph,omitempty" mapstructure:"graph"`
PasswordPolicy *CapabilitiesPasswordPolicy `json:"password_policy,omitempty" xml:"password_policy,omitempty" mapstructure:"password_policy"`
Search *CapabilitiesSearch `json:"search,omitempty" xml:"search,omitempty" mapstructure:"search"`
Notifications *CapabilitiesNotifications `json:"notifications,omitempty" xml:"notifications,omitempty"`
}

Notifications *CapabilitiesNotifications `json:"notifications,omitempty" xml:"notifications,omitempty"`
// CapabilitiesSearch hold the search capabilities
type CapabilitiesSearch struct {
Property []map[string]interface{} `json:"property" xml:"property" mapstructure:"property"`
}

// Spaces lets a service configure its advertised options related to Storage Spaces.
Expand Down

0 comments on commit 5d7de30

Please sign in to comment.