'List Endpoints - Returns Endpoints.'

def list_endpoints(self):

    (resp, body) = self.get('/endpoints')
    self.expected_success(200, resp.status)
    body = json.loads(body)
    return rest_client.ResponseBody(resp, body)
