API Module : Generating Token / Extending RoutesCreated 5 years ago by kiltedup
Hi, I have started to play around with the API Module. Stuck with a couple of things. Generating a token: I followed some comments on Slack re using 'tinker' to generate a token, however now looking to see how to do it properly. Assume the missing image in github holds they key to what needs to be done. Anyone know how to generate a token? Extending routes: I would like to add my own routes. Primarily because I have a stream that has a bunch of relationship fields so rather than just seeing the id of in the API entry response, would like to return a custom response for certain routes. Struggling to find documentation on how to extend the routes - probably not just for API module but any core module in general. Any cunning tips out there?