How to use Ash as a wrapper for an external REST API

I am new to Ash and would like to use it to sit on top of (wrap) an external REST API. Is there an approach to doing this that is going to yield maximum advantage further down the line?

Should I create my own data layer? Use data_layer: :embedded and manual actions? A third thing?

1 Like

That is the essential way to do it yes. However, we have an experimental package if you’re willing to be a pioneer :slight_smile: GitHub - ash-project/ash_json_api_wrapper

How well this will work for you depends a bit on the api as well.