Add class based views API-REST