All URIs are relative to http://localhost
| Method | HTTP request | Description |
|---|---|---|
| createNotification | POST /api/v1/notifications | Creates a new notification. |
| deleteNotification | DELETE /api/v1/notifications/{notification_id} | Deletes a notification by ID. |
| getNotification | GET /api/v1/notifications/{notification_id} | Retrieves details of a specific notification by ID. |
| listNotifications | GET /api/v1/notifications | Notification routes implementation |
| updateNotification | PATCH /api/v1/notifications/{notification_id} | Updates an existing notification. |
ApiResponse_NotificationResponse createNotification(NotificationCreateRequest)
Creates a new notification.
| Name | Type | Description | Notes |
|---|---|---|---|
| NotificationCreateRequest | NotificationCreateRequest |
ApiResponse_NotificationResponse
- Content-Type: application/json
- Accept: application/json
ApiResponse_String deleteNotification(notification_id)
Deletes a notification by ID.
| Name | Type | Description | Notes |
|---|---|---|---|
| notification_id | String | Notification ID | [default to null] |
- Content-Type: Not defined
- Accept: application/json
ApiResponse_NotificationResponse getNotification(notification_id)
Retrieves details of a specific notification by ID.
| Name | Type | Description | Notes |
|---|---|---|---|
| notification_id | String | Notification ID | [default to null] |
ApiResponse_NotificationResponse
- Content-Type: Not defined
- Accept: application/json
ApiResponse_Vec_NotificationResponse listNotifications(page, per_page)
Notification routes implementation
Note: OpenAPI documentation for these endpoints can be found in the `openapi.rs` file Lists all notifications with pagination support.
| Name | Type | Description | Notes |
|---|---|---|---|
| page | Integer | Page number for pagination (starts at 1) | [optional] [default to null] |
| per_page | Integer | Number of items per page (default: 10) | [optional] [default to null] |
ApiResponse_Vec_NotificationResponse
- Content-Type: Not defined
- Accept: application/json
ApiResponse_NotificationResponse updateNotification(notification_id, NotificationUpdateRequest)
Updates an existing notification.
| Name | Type | Description | Notes |
|---|---|---|---|
| notification_id | String | Notification ID | [default to null] |
| NotificationUpdateRequest | NotificationUpdateRequest |
ApiResponse_NotificationResponse
- Content-Type: application/json
- Accept: application/json