(self, resource=None, name=None, group=None)
return self.http_get(route, params)
https://docs.marklogic.com/REST/GET/manage/v2/requests
        Example url:
            - http://localhost:8002/manage/v2/requests?format=json (cluster level)
            - http://localhost:8002/manage/v2/requests?format=json&server-id=Admin&group-id=Default
            - http://localhost:8002/manage/v2/requests?format=json&group-id=Default
            - http://localhost:8002/manage/v2/requests?format=json&host-id=2871b05b4bdc
https://docs.marklogic.com/REST/GET/manage/v2/requests
        Example url:
            - http://localhost:8002/manage/v2/requests?format=json (cluster level)
            - http://localhost:8002/manage/v2/requests?format=json&server-id=Admin&group-id=Default
            - http://localhost:8002/manage/v2/requests?format=json&group-id=Default
            - http://localhost:8002/manage/v2/requests?format=json&host-id=2871b05b4bdc
https : // docs . marklogic . com / REST / GET / manage / v2 / requests Example url : - http : // localhost : 8002 / manage / v2 / requests?format = json ( cluster level ) - http : // localhost : 8002 / manage / v2 / requests?format = json&server - id = Admin&group - id = Default - http : // localhost : 8002 / manage / v2 / requests?format = json&group - id = Default - http : // localhost : 8002 / manage / v2 / requests?format = json&host - id = 2871b05b4bdc
def get_requests_data(self, resource=None, name=None, group=None):
        # type: (str, str, str) -> Dict[str, Any]
        """
        https://docs.marklogic.com/REST/GET/manage/v2/requests
        Example url:
            - http://localhost:8002/manage/v2/requests?format=json (cluster level)
            - http://localhost:8002/manage/v2/requests?format=json&server-id=Admin&group-id=Default
            - http://localhost:8002/manage/v2/requests?format=json&group-id=Default
            - http://localhost:8002/manage/v2/requests?format=json&host-id=2871b05b4bdc
        """
        params = {}
        route = "/requests"
        if resource and name:
            params['{}-id'.format(resource)] = name
        if group:
            params['group-id'] = group

        return self.http_get(route, params)
def get_requests_data ( self , resource = None , name = None , group = None ) : # type: (str, str, str) -> Dict[str, Any] params = { } route = "/requests" if resource and name : params [ '{}-id' . format ( resource ) ] = name if group : params [ 'group-id' ] = group return self . http_get ( route , params )