AshJsonApi: Can a domain support routes for different endpoints/routers?

I'm looking into exposing some API routes only for my internal network, which won't be publicly accessible. Is it possible to configure routes to be exposed for one or more endpoints/routers? i.e. Some routes are public only, some private only, others are both.
1 Reply
ZachDaniel
ZachDaniel4d ago
Not currently but I'd like to do it My thought was that it could be done by adding tags to routes And then when creating and ash_json_api router, you'd say "this includes routes with tags x, y, z" Should be pretty simple PRs welcome!

Did you find this page helpful?