I have 2 namespaces, api and v1I have accounts and users as resources.
I want to map the routing as follows for all my resources:
/api/v1/:account_id/:resource/:id
i.e:/api/v1/1/users/2
In the example 1 stands for account id and 2 stands for user id.
How do I accomplish this?