Use the Api controller plugin to access the API.