Make apiEndpoint editable for testing purposes