docs(api): add a very rough first version of the api docs