All URIs are relative to http://localhost:7878
Method | HTTP request | Description |
---|---|---|
create_notification | POST /api/v3/notification | |
create_notification_action_by_name | POST /api/v3/notification/action/{name} | |
delete_notification | DELETE /api/v3/notification/{id} | |
get_notification_by_id | GET /api/v3/notification/{id} | |
list_notification | GET /api/v3/notification | |
list_notification_schema | GET /api/v3/notification/schema | |
test_notification | POST /api/v3/notification/test | |
testall_notification | POST /api/v3/notification/testall | |
update_notification | PUT /api/v3/notification/{id} |
models::NotificationResource create_notification(force_save, notification_resource)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
force_save | Option<bool> | [default to false] | ||
notification_resource | Option<NotificationResource> |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
create_notification_action_by_name(name, notification_resource)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
name | String | [required] | ||
notification_resource | Option<NotificationResource> |
(empty response body)
- Content-Type: application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
delete_notification(id)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
id | i32 | [required] |
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
models::NotificationResource get_notification_by_id(id)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
id | i32 | [required] |
- Content-Type: Not defined
- Accept: text/plain, application/json, text/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Vecmodels::NotificationResource list_notification()
This endpoint does not need any parameter.
Vecmodels::NotificationResource
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Vecmodels::NotificationResource list_notification_schema()
This endpoint does not need any parameter.
Vecmodels::NotificationResource
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
test_notification(force_test, notification_resource)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
force_test | Option<bool> | [default to false] | ||
notification_resource | Option<NotificationResource> |
(empty response body)
- Content-Type: application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
testall_notification()
This endpoint does not need any parameter.
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
models::NotificationResource update_notification(id, force_save, notification_resource)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
id | i32 | [required] | ||
force_save | Option<bool> | [default to false] | ||
notification_resource | Option<NotificationResource> |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]