Notification Messages Templates
Operations Summary
| Method | Endpoint | Description |
|---|---|---|
| Core CRUD | ||
| GET | /api/notification-messages-templates/ |
List Notification Messages Templates |
| GET | /api/notification-messages-templates/{uuid}/ |
Retrieve |
| POST | /api/notification-messages-templates/ |
Create |
| PUT | /api/notification-messages-templates/{uuid}/ |
Update |
| PATCH | /api/notification-messages-templates/{uuid}/ |
Partial Update |
| DELETE | /api/notification-messages-templates/{uuid}/ |
Delete |
| Other Actions | ||
| POST | /api/notification-messages-templates/{uuid}/override/ |
Override notification template content |
Core CRUD
List Notification Messages Templates
1 2 3 4 | |
1 2 3 4 5 6 7 8 9 10 | |
- API Source:
notification_messages_templates_list
1 2 3 4 5 6 7 8 9 10 | |
| Name | Type | Description |
|---|---|---|
is_overridden |
boolean | |
name |
string | |
name_exact |
string | |
page |
integer | A page number within the paginated result set. |
page_size |
integer | Number of results to return per page. |
path |
string | |
path_exact |
string |
200 -
The response body is an array of objects, where each object has the following structure:
| Field | Type | Description |
|---|---|---|
uuid |
string (uuid) | |
url |
string (uri) | |
path |
string | Example: 'flatpages/default.html' |
name |
string | |
content |
string | |
original_content |
string | |
is_content_overridden |
boolean |
Retrieve
1 2 3 4 | |
1 2 3 4 5 6 7 8 9 10 11 12 | |
- API Source:
notification_messages_templates_retrieve
1 2 3 4 5 6 7 8 9 10 11 12 13 | |
| Name | Type | Required |
|---|---|---|
uuid |
string (uuid) | ✓ |
200 -
| Field | Type | Description |
|---|---|---|
uuid |
string (uuid) | |
url |
string (uri) | |
path |
string | Example: 'flatpages/default.html' |
name |
string | |
content |
string | |
original_content |
string | |
is_content_overridden |
boolean |
Create
1 2 3 4 5 6 | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | |
- Model Source:
NotificationTemplateDetailSerializersRequest - API Source:
notification_messages_templates_create
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | |
| Field | Type | Required | Description |
|---|---|---|---|
path |
string | ✓ | Example: 'flatpages/default.html' |
name |
string | ✓ |
201 -
| Field | Type | Description |
|---|---|---|
uuid |
string (uuid) | |
url |
string (uri) | |
path |
string | Example: 'flatpages/default.html' |
name |
string | |
content |
string | |
original_content |
string | |
is_content_overridden |
boolean |
Update
1 2 3 4 5 6 | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | |
- Model Source:
NotificationTemplateDetailSerializersRequest - API Source:
notification_messages_templates_update
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | |
| Name | Type | Required |
|---|---|---|
uuid |
string (uuid) | ✓ |
| Field | Type | Required | Description |
|---|---|---|---|
path |
string | ✓ | Example: 'flatpages/default.html' |
name |
string | ✓ |
200 -
| Field | Type | Description |
|---|---|---|
uuid |
string (uuid) | |
url |
string (uri) | |
path |
string | Example: 'flatpages/default.html' |
name |
string | |
content |
string | |
original_content |
string | |
is_content_overridden |
boolean |
Partial Update
1 2 3 4 | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | |
- Model Source:
PatchedNotificationTemplateDetailSerializersRequest - API Source:
notification_messages_templates_partial_update
1 2 3 4 5 6 7 8 9 10 11 12 13 | |
| Name | Type | Required |
|---|---|---|
uuid |
string (uuid) | ✓ |
| Field | Type | Required | Description |
|---|---|---|---|
path |
string | Example: 'flatpages/default.html' | |
name |
string |
200 -
| Field | Type | Description |
|---|---|---|
uuid |
string (uuid) | |
url |
string (uri) | |
path |
string | Example: 'flatpages/default.html' |
name |
string | |
content |
string | |
original_content |
string | |
is_content_overridden |
boolean |
Delete
1 2 3 4 | |
1 2 3 4 5 6 7 8 9 10 11 12 | |
- API Source:
notification_messages_templates_destroy
1 2 3 4 5 6 7 8 9 10 11 12 13 | |
| Name | Type | Required |
|---|---|---|
uuid |
string (uuid) | ✓ |
204 - No response body
Other Actions
Override notification template content
1 2 3 4 5 | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | |
- Model Source:
NotificationTemplateUpdateSerializersRequest - API Source:
notification_messages_templates_override
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | |
| Name | Type | Required |
|---|---|---|
uuid |
string (uuid) | ✓ |
| Field | Type | Required |
|---|---|---|
content |
string | ✓ |
200 - No response body