mailu/docs
bors[bot] 179c624116
Merge
2631: Restful api finishing touches r=mergify[bot] a=Diman0

## What type of PR?

enhancement

## What does this PR do?
Some finishing touches for the restful api.

- Make the API configurable via the setup utility.  
  - Configured exactly the same as the ADMIN and WEBMAIL. 
- We have a single config (API) that configures whether it is exposed (via front). Just like ADMIN. The API is always reachable by directly connecting to the admin container.
- API_TOKEN does not enable/disable the API anymore. When it is not configured, an error is returned (via the internet browser) that the API_TOKEN must be configured in mailu.env.
- Fix some small bugs in the setup utility ( selecting none in the dropdown boxes, now correctly changes the config)
- Update Flask-RestX to 1.0.5. This resolves the deprecation warnings introduced by Flask-RestX.

### Related issue(s)

## Prerequisites
Before we can consider review and merge, please make sure the following list is done and checked.
If an entry in not applicable, you can check it or remove it from the list.

- [x] In case of feature or enhancement: documentation updated accordingly
- [x] Unless it's docs or a minor change: add [changelog](https://mailu.io/master/contributors/workflow.html#changelog) entry file.


Co-authored-by: Dimitri Huisman <diman@huisman.xyz>
..
_templates Restore VERSION_TAG template
assets removing unneeded image
compose Fix a bunch of typos
contributors Remove Swarm everywhere.
kubernetes/mailu simplify
.env Add deploy settings for server
Dockerfile Process code review remarks
antispam.rst Mention you must restart rspamd for the changes to take effect.
api.rst Make API configurable via the setup utility
arm_images.rst Fix a bunch of typos
cli.rst Introduction of the Mailu RESTful API.
conf.py Set language to English for sphinx in conf.py.
configuration.rst Merge
database.rst Update database.rst
demo.rst Fixed small typo
dns.rst Fix a bunch of typos
docker-compose.yml Make docker-compose.yml for setup and docs development friendly
faq.rst Merge branch 'apiv1' of https://github.com/ghostwheel42/Mailu into feature-445-restful-api-ghostwheel
features.rst remove service status "feature"
general.rst Update general.rst
index.rst Introduction of the Mailu RESTful API.
maintain.rst Documentation:
nginx.conf Build the documentation as a Docker image
releases.rst Fix a bunch of typos
requirements.txt Introduction of the Mailu RESTful API.
reverse.rst Fixed error in reverse.rst and remove unneeded example block.
setup.rst Merge branch 'master' into feat-switch-buildx
webadministration.rst Set default for FETCHMAIL_ENABLED