Push API
Auto-generated from
openapi-snapshot.json. Do not edit by hand — changes are overwritten byscripts/docs/generate_api_reference.py.
4 endpoints in this group.
POST /api/push/subscriptions
Subscribe
Request body: application/json
Responses
| Code | Description |
|---|---|
200 | Successful Response |
422 | Validation Error |
DELETE /api/push/subscriptions/{subscription_id}
Unsubscribe
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
subscription_id | path | integer | required |
Responses
| Code | Description |
|---|---|
204 | Successful Response |
422 | Validation Error |
POST /api/push/test
Send Test Push
Request body: application/json
Responses
| Code | Description |
|---|---|
200 | Successful Response |
422 | Validation Error |
GET /api/push/vapid-public-key
Get Vapid Public Key
Responses
| Code | Description |
|---|---|
200 | Successful Response |