Updated README with API definition