postNotificationsAdmin
Sends a notification to all admin users
Requires authentication as user
postNotificationsAdmin
Request
post /Notifications/Admin
Parameters
| Name | In | Type | Default | Notes |
|---|---|---|---|---|
| *Name | query | The notification's name |
||
| *Description | query | The notification's description |
||
| ImageUrl | query | The notification's image url |
||
| Url | query | The notification's info url |
||
| Level | query | The notification level |
||
| *body | body | AddAdminNotification | AddAdminNotification |
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
AddAdminNotification
Emby.Notifications.Api.AddAdminNotification
| Name | Type | Notes |
|---|---|---|
| DisplayDateTime | boolean |