(self, resource=None)
return self.http_get(route, params)
Example url:
            - http://localhost:8002/manage/v2/hosts?view=status
            - http://localhost:8002/manage/v2/forests?view=status&format=json
Example url:
            - http://localhost:8002/manage/v2/hosts?view=status
            - http://localhost:8002/manage/v2/forests?view=status&format=json
Example url : - http : // localhost : 8002 / manage / v2 / hosts?view = status - http : // localhost : 8002 / manage / v2 / forests?view = status&format = json
def get_status_data(self, resource=None):
        # type: (str) -> Dict[str, Any]
        """
        Example url:
            - http://localhost:8002/manage/v2/hosts?view=status
            - http://localhost:8002/manage/v2/forests?view=status&format=json
        """
        params = {'view': 'status'}
        route = ""
        if resource:
            route = "/" + resource

        return self.http_get(route, params)
def get_status_data ( self , resource = None ) : # type: (str) -> Dict[str, Any] params = { 'view' : 'status' } route = "" if resource : route = "/" + resource return self . http_get ( route , params )