mirror of
https://github.com/GNS3/gns3-server
synced 2024-12-28 09:48:08 +00:00
25 lines
867 B
ReStructuredText
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>✔</td> <td>['string']</td> <td>File path</td> </tr>
|
|
</table>
|
|
|