Adding the remaining endpoints to the API class