add support to change api prefix

(from the /api default)