Notifications and e-mail¶
Console notifications with their sources and per-user preferences, and the console mail transport.
Generated automatically from pandora-cli docs (version 0.9.0, branch develop, commit 4f61789e07). Do not edit by hand; run make cli-ref.
Entities¶
| Entity | Aliases | Commands | Summary |
|---|---|---|---|
notification |
— | 12 | Console notifications, notification sources and per-user preferences |
email |
— | 2 | Send e-mail through the console mail transport |
notification¶
Console notifications, notification sources and per-user preferences
Every command is a grouped extra command: the entity has no id of its own. Lists are paginated and accept the filter body with --set or --from-file. message create requires idUser, subject and message; the API answers 400 with the name of the missing field.
| Command | Method | Path |
|---|---|---|
notification message list |
POST | /notification/message/list |
notification message get <idMessage> |
GET | /notification/message/{idMessage} |
notification message create |
POST | /notification/message |
notification message update <idMessage> |
PUT | /notification/message/{idMessage} |
notification message delete <idMessage> |
DELETE | /notification/message/{idMessage} |
notification source list |
POST | /notification/source/list |
notification source get <idSource> |
GET | /notification/source/{idSource} |
notification source-user list |
POST | /notification/source_user/list |
notification source-user get <sourceId> <idUser> |
GET | /notification/source_user/{sourceId}/{idUser} |
notification source-user set |
POST | /notification/source_user |
notification source-user update <sourceId> <idUser> |
PUT | /notification/source_user/{sourceId}/{idUser} |
notification source-user delete <sourceId> <idUser> |
DELETE | /notification/source_user/{sourceId}/{idUser} |
notification source-user set— The body fields are sourceId, idUser and preference (global, console, email, both or none).
notification source-user update— The body field is preference (global, console, email, both or none).
email¶
Send e-mail through the console mail transport
| Command | Method | Path |
|---|---|---|
email send |
POST | /email/send |
email config |
GET | /mail/config |
email send— The body fields are idUser, subject, body and contentType (optional).