fixes #7054 - list all routes for each resource in /v2/api

(cherry picked from commit 37321c12ed65da9de7707454dde0c48dde57da51)