NestedFolders: Return full folder hierarchy in Folder response (#66835)
* Delete redundant struct * Include parent folders in DTO * Add test * Update swagger
This commit is contained in:
@@ -24,6 +24,8 @@ type Folder struct {
|
||||
AccessControl accesscontrol.Metadata `json:"accessControl,omitempty"`
|
||||
// only used if nested folders are enabled
|
||||
ParentUID string `json:"parentUid,omitempty"`
|
||||
// the parent folders starting from the root going down
|
||||
Parents []Folder `json:"parents,omitempty"`
|
||||
}
|
||||
|
||||
type FolderSearchHit struct {
|
||||
|
||||
Reference in New Issue
Block a user