add /api/services endpoint