Added required params to kwargs
Added back class definition
Small example of endpoint