mirror of
https://github.com/GNS3/gns3-server.git
synced 2024-11-17 17:24:51 +02:00
35 lines
1.1 KiB
ReStructuredText
35 lines
1.1 KiB
ReStructuredText
/v2/compute/projects/{project_id}/files/{path:.+}
|
|
------------------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
.. contents::
|
|
|
|
GET /v2/compute/projects/**{project_id}**/files/**{path:.+}**
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
Get a file of a project
|
|
|
|
Parameters
|
|
**********
|
|
- **project_id**: The UUID of the project
|
|
|
|
Response status codes
|
|
**********************
|
|
- **200**: Return the file
|
|
- **403**: Permission denied
|
|
- **404**: The file doesn't exist
|
|
|
|
|
|
POST /v2/compute/projects/**{project_id}**/files/**{path:.+}**
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
Get a file of a project
|
|
|
|
Parameters
|
|
**********
|
|
- **project_id**: The UUID of the project
|
|
|
|
Response status codes
|
|
**********************
|
|
- **200**: Return the file
|
|
- **403**: Permission denied
|
|
- **404**: The path doesn't exist
|
|
|