Skip to content

Commit

Permalink
return fileID and storageID on meta endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
micbar committed Apr 28, 2022
1 parent 0164880 commit 5f79842
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/http/services/owncloud/ocdav/meta.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,9 @@ func (h *MetaHandler) handlePathForUser(w http.ResponseWriter, r *http.Request,
Status: "HTTP/1.1 200 OK",
Prop: []prop.PropertyXML{
prop.Escaped("oc:meta-path-for-user", pathRes.Path),
prop.Escaped("oc:id", id),
prop.Escaped("oc:fileid", id),
prop.Escaped("oc:spaceid", rid.StorageId),
},
}
baseURI := ctx.Value(net.CtxKeyBaseURI).(string)
Expand Down

0 comments on commit 5f79842

Please sign in to comment.