[PATCH 1/3] Adjust API endpoint to reflects the UI endpoints in their url structure