docs: improve documentation

- document REST API
- add modules to sphinx generation
- show how to build the docs
6 jobs for 24-document-the-module in 16 minutes and 33 seconds (queued for 26 minutes and 56 seconds)