API endpoint on liferay2 changed from /api to /dm