1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-10-11 18:38:55 +00:00
gns3-server/docs/api/v1/file/filesstream.rst
2015-05-01 11:24:56 +02:00

25 lines
867 B
ReStructuredText

/v1/files/stream
----------------------------------------------------------------------------------------------------------------------
.. contents::
GET /v1/files/stream
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Stream a file from the server
Response status codes
**********************
- **200**: File retrieved
- **409**: Can't access to file
- **404**: File doesn't exist
Input
*******
.. raw:: html
<table>
<tr> <th>Name</th> <th>Mandatory</th> <th>Type</th> <th>Description</th> </tr>
<tr><td>location</td> <td>&#10004;</td> <td>['string']</td> <td>File path</td> </tr>
</table>