Wrote documentation about the api