Clanbite clanbite/v1

GET /wp-json/clanbite/v1/notifications/poll

GET

Long polling endpoint for real-time updates.

Access is checked by notifications_access_permissions_check().

ArgumentTypeDefaultDescription
sincestring''
last_idinteger0
timeoutinteger25

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