add API spec to README