tribler.core.restapi.file_endpoint ================================== .. py:module:: tribler.core.restapi.file_endpoint Classes ------- .. autoapisummary:: tribler.core.restapi.file_endpoint.FileEndpoint Module Contents --------------- .. py:class:: FileEndpoint Bases: :py:obj:`tribler.core.restapi.rest_endpoint.RESTEndpoint` This endpoint allows clients to view the server's file structure remotely. .. py:attribute:: path :value: '/api/files' .. py:attribute:: _logger .. py:method:: browse(request: aiohttp.web.Request) -> tribler.core.restapi.rest_endpoint.RESTResponse :async: Return all files/directories found in the specified path. .. py:method:: list(request: aiohttp.web.Request) -> tribler.core.restapi.rest_endpoint.RESTResponse :async: Return all files found in the specified path. .. py:method:: create(request: aiohttp.web.Request) -> tribler.core.restapi.rest_endpoint.RESTResponse :async: Create the specified path.