

def _req_files(self, cid, offset, limit, o='user_ptime', asc=1, aid=1, show_dir=1, code=None, scid=None, snap=0, natsort=1, source=None, type=0, format='json', star=None, is_share=None):
    "\n        :param int type: type of files to be displayed\n\n            * '' (empty string): marked\n            * None: all\n            * 0: all\n            * 1: documents\n            * 2: images\n            * 3: music\n            * 4: video\n            * 5: zipped\n            * 6: applications\n            * 99: files only\n        "
    params = locals()
    del params['self']
    req = Request(method='GET', url=self.web_api_url, params=params)
    res = self.http.send(req)
    if show_dir.state:
        return res.content
    else:
        raise RequestFailure('Failed to access files API.')

dataset/ETHPy150Open shichao-an/115wangpan/u115/api.py API._req_files/VarMisuse@113/261 `res`->`show_dir`