File Download ============= .. code-block:: http /api/repositories/{repository}/download/{filename} .. csv-table:: :header: Parameter, Type, Purpose :widths: 20, 20, 60 :stub-columns: 1 repository, string, The name of the :doc:`repository` to access filename, string, The name of the file to be dowloaded GET ~~~ .. http:get:: /api/repositories/(string:repository)/download/(string:filename) :synopsis: Download a file from the server file system .. code-block:: http GET /api/repositories/jupiter/download/library.ebr HTTP/1.1 Only one file can be downloaded at a time. .. csv-table:: :header: Response Code, Reason :widths: 25, 75 400, Invalid file name A successful response contains the contents of the file that is to be downloaded. Only the files residing in `/export` virtual directory of the server filesystem could be downloaded.