Implemented /api/services/* rest calls.