Fix indentation in api.rst

7 jobs for improvements in 4 minutes and 50 seconds (queued for 1 second)