postNotificationsServicesTest
Sends a test notification
Requires authentication as user
postNotificationsServicesTest
Request
post /Notifications/Services/Test
Parameters
| Name | In | Type | Default | Notes |
|---|---|---|---|---|
| *body | body | UserNotificationInfo | UserNotificationInfo: |
Responses
| Status Code | Type | Description | Samples |
|---|---|---|---|
| 200 | Operation successful. Empty response. |
||
| 400 | Bad Request. Server cannot process request. |
||
| 401 | Unauthorized. Client needs to authenticate. |
||
| 403 | Forbidden. No permission for the reqested operation. |
||
| 404 | Resource not found or unavailable. |
||
| 500 | Server error. |
Definitions
UserNotificationInfo
Emby.Notifications.UserNotificationInfo
| Name | Type | Notes |
|---|---|---|
| NotifierKey | string | |
| SetupModuleUrl | string | |
| ServiceName | string | |
| PluginId | string | |
| FriendlyName | string | |
| Id | string | |
| Enabled | boolean | |
| UserIds | array | Limit events based on user ids, for admin notifications |
| DeviceIds | array | |
| LibraryIds | array | |
| EventIds | array | |
| UserId | string | Notification intended for a specific user |
| IsSelfNotification | boolean | |
| GroupItems | boolean | |
| Options | object | This is for webhooks since this will cause xml serialization to fail |