prufy
Skip to the page

DevelopmentRun the worker

Development

Run the worker

Do everything that's due right now: scheduled checks, expiries and lapses.

POST/api/dev/run-worker

The same pass the background worker makes every 15 seconds. processed is how many claims it handled.

Authentication

No credential needed. How sessions work.

Response

200 OK, with every field below present. Times are ISO 8601 strings in UTC.

  • processedinteger

    How many claims were due and handled.

Errors

StatusKindWhen
404not_foundThe server is running in production.

Any route can also answer 500 with internal_error. Every error has the same shape, described in Errors.