# `mix ash_json_api.routes`
[🔗](https://github.com/ash-project/ash_json_api/blob/v1.6.5/lib/mix/tasks/ash_json_api.routes.ex#L5)

Prints all routes pertaining to AshJsonApi.Router for the default or a given router.

This task can be called directly, accepting the same options as `mix phx.routes`, except for `--info`.

Accepts option `--json_router` to specify your Ash Json Router. Defaults to `YourAppWeb.AshJsonApiRouter`.

Alternatively, you can modify your aliases task to run them back to back it.

```elixir
aliases: ["phx.routes": ["do", "phx.routes,", "ash_json_api.routes"]]
```

# `get_url_info`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
