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
Endpoint
GET/bundle_notifications
Return Object
BundleNotification[]
Authorization Requirement
Available to all authenticated keys or sessions.
Request Parameters
| Parameter | Description |
|---|---|
| user_id int64 | User ID. Provide a value of 0 to operate the current session's user. |
| bundle_id int64 | Bundle ID |
Additional Arguments
Show Share Link Notification
Endpoint
GET/bundle_notifications/{id}
Return Object
BundleNotification
Authorization Requirement
Available to all authenticated keys or sessions.
Request Parameters
| Parameter | Description |
|---|---|
| id int64 Required | Bundle Notification ID. |
Create Share Link Notification
Endpoint
POST/bundle_notifications
Return Object
BundleNotification
Authorization Requirement
Available to all authenticated keys or sessions.
Request Parameters
| Parameter | Default | Description |
|---|---|---|
| user_id int64 | User ID. Provide a value of 0 to operate the current session's user. | |
| bundle_id int64 Required | Bundle ID to notify on | |
| notify_user_id int64 | The id of the user to notify. | |
| notify_on_registration boolean | false | Triggers bundle notification when a registration action occurs for it. |
| notify_on_upload boolean | false | Triggers bundle notification when a upload action occurs for it. |
Update Share Link Notification
Endpoint
PATCH/bundle_notifications/{id}
Return Object
BundleNotification
Authorization Requirement
Available to all authenticated keys or sessions.
Request Parameters
| Parameter | Description |
|---|---|
| id int64 Required | Bundle Notification ID. |
| notify_on_registration boolean | Triggers bundle notification when a registration action occurs for it. |
| notify_on_upload boolean | Triggers bundle notification when a upload action occurs for it. |
Delete Share Link Notification
Endpoint
DELETE/bundle_notifications/{id}
Return Object
No return value.
Authorization Requirement
Available to all authenticated keys or sessions.
Request Parameters
| Parameter | Description |
|---|---|
| id int64 Required | Bundle Notification ID. |
The BundleNotification Object
Some of the endpoints above return a BundleNotification object. The attributes of this object are listed below.
| Attribute | Description |
|---|---|
| bundle_id int64 | Bundle ID to notify on |
| id int64 | Bundle Notification ID |
| notify_on_registration boolean | Triggers bundle notification when a registration action occurs for it. |
| notify_on_upload boolean | Triggers bundle notification when a upload action occurs for it. |
| notify_current_user boolean | Is the current user the user to notify? |
| notify_user_id int64 | The id of the user to notify. |
| workspace_id int64 | Workspace ID. 0 means the default workspace. |