GET /wp-json/clanbite/v1/notifications/pollGET
Long polling endpoint for real-time updates.
Access is checked by notifications_access_permissions_check().
| Argument | Type | Default | Description |
|---|---|---|---|
since | string | '' | |
last_id | integer | 0 | |
timeout | integer | 25 |
Handled by poll_updates()
Example
curl -X GET 'https://example.com/wp-json/clanbite/v1/notifications/poll'Defined in inc/extensions/notifications/class-notification-rest-controller.php