The admin endpoint defines some routes for adminstration tasks. This is disabled by default and can be enabled by providing a secret:
This secret must be provided to all requests to a
The most convenient way to execute admin tasks is to use the
cli. You get a list of possible admin commands
dsc admin help.
To see the output of the commands, there are these ways:
- looking at the joex logs, which gives most details.
- Use the job-queue page when logged in as
- setup a webhook to be notified when a job finishes. This way you get a small message.
All admin tasks (and also some other system tasks) are run under the
docspell-system (collective and user). You need to create
this account and setup the notification hooks in there - not in your