Add limit query option and expose route name in resources metadata

here, that's wrong