mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-04-22 11:09:02 -05:00
7700e59fff
Signed-off-by: jkoberg <jkoberg@owncloud.com>
14 lines
451 B
Go
14 lines
451 B
Go
package service
|
|
|
|
// FileEvent is emitted when a file is uploaded/renamed/deleted/...
|
|
type FileEvent struct {
|
|
ParentItemID string `json:"parentitemid"`
|
|
ItemID string `json:"itemid"`
|
|
SpaceID string `json:"spaceid"`
|
|
InitiatorID string `json:"initiatorid"`
|
|
Etag string `json:"etag"`
|
|
|
|
// Only in case of sharing (refactor this into separate struct when more fields are needed)
|
|
AffectedUserIDs []string `json:"affecteduserids"`
|
|
}
|