Bundle Notifications
A BundleNotification is an E-Mail sent out to users when certain actions are performed on or within a shared set of files and folders.
List Share Link Notifications
SDK Method
bundlenotification.List()
Return Object
[]*BundleNotification
Authorization Requirement
Available to all authenticated keys or sessions.
BundleNotificationListParams Fields
| Field | Description |
|---|---|
| UserId int64 | User ID. Provide a value of 0 to operate the current session's user. |
| BundleId int64 | Bundle ID |
Additional Arguments
Show Share Link Notification
SDK Method
bundlenotification.Find()
Return Object
BundleNotification
Authorization Requirement
Available to all authenticated keys or sessions.
BundleNotificationFindParams Fields
| Field | Description |
|---|---|
| Id int64 Required | Bundle Notification ID. |
Create Share Link Notification
SDK Method
bundlenotification.Create()
Return Object
BundleNotification
Authorization Requirement
Available to all authenticated keys or sessions.
BundleNotificationCreateParams Fields
| Field | Default | Description |
|---|---|---|
| UserId int64 | User ID. Provide a value of 0 to operate the current session's user. | |
| BundleId int64 Required | Bundle ID to notify on | |
| NotifyUserId int64 | The id of the user to notify. | |
| NotifyOnRegistration boolean | false | Triggers bundle notification when a registration action occurs for it. |
| NotifyOnUpload boolean | false | Triggers bundle notification when a upload action occurs for it. |
Update Share Link Notification
SDK Method
bundlenotification.Update()
Return Object
BundleNotification
Authorization Requirement
Available to all authenticated keys or sessions.
BundleNotificationUpdateParams Fields
| Field | Description |
|---|---|
| Id int64 Required | Bundle Notification ID. |
| NotifyOnRegistration boolean | Triggers bundle notification when a registration action occurs for it. |
| NotifyOnUpload boolean | Triggers bundle notification when a upload action occurs for it. |
Delete Share Link Notification
SDK Method
bundlenotification.Delete()
Return Object
No return value.
Authorization Requirement
Available to all authenticated keys or sessions.
BundleNotificationDeleteParams Fields
| Field | Description |
|---|---|
| Id int64 Required | Bundle Notification ID. |
The BundleNotification Object
Some of the methods above return a BundleNotification object. The attributes of this object are listed below.
| Attribute | Description |
|---|---|
| BundleId int64 | Bundle ID to notify on |
| Id int64 | Bundle Notification ID |
| NotifyOnRegistration boolean | Triggers bundle notification when a registration action occurs for it. |
| NotifyOnUpload boolean | Triggers bundle notification when a upload action occurs for it. |
| NotifyCurrentUser boolean | Is the current user the user to notify? |
| NotifyUserId int64 | The id of the user to notify. |
| WorkspaceId int64 | Workspace ID. 0 means the default workspace. |