add API spec to readme