database added to api.rst sphinx documentation