use int:idx to make path params be ints