docs: update api documentation
Merge remote-tracking branch 'origin/0.4' into 0.4