json_api do type "many_actions" routes do base "/many_actions" post "/another", :another end end
json_api do type "many_actions" routes do base "/many_actions" post "/another", :another end end
Looks like you can do something similar with relationships, but is there a way to expose additional actions on the resource?
This is related to the many issues on JSON:API, but most of these have to do with discoverability; the spec is fairly wide-open when it comes to adding additional routes in general.
The Elixir backend framework for unparalleled productivity. Declarative tools that let you stop wasting time. Use with Phoenix LiveView or build APIs in minutes for your front-end of choice.