Update documentation/api.md
Merge pull request #1 from dducret/master

API doc draft