Update index.md
Update api.md

Add table
Update api.md
updates to api doc