Added api prefix to endpoint urls