Trigger Renew Gmail Watch
Changed onRe-register every Gmail watch so Pub/Sub push keeps flowing.
Google's users().watch() expires ~7 days after registration, after which inbound capture silently stops. This endpoint re-registers all watches in gmail_watch_state (idempotent; resets the clock). Called daily by the notification_scheduler container (moved off GitHub Actions — see backend/workers/notification_scheduler.py). Returns per-inbox renewed/failed counts.
renew_all_watches is itself idempotent, but the once-per-day dedup (scheduler_job_runs) still applies, same as deadline-check/weekly-summary — this endpoint has no shop_id single-shop test path, so the gate is unconditional. Pass force=true to bypass it for manual testing.
Request
- Base URLhttps://api.jeevyfabrication.com (the document declares no server; this is the origin it was published from)
- Authnone declared
Query parameters
Bypass the once-per-day dedup check
Headers
Response
Successful Response
Changes
- info
added the new optional
queryrequest parameterforce
- info