gns3-server/docs/api/v1/server/project/projectsprojectidfilespath.rst
2016-03-04 17:50:17 +01:00

20 lines
600 B
ReStructuredText

/v1/projects/{project_id}/files/{path:.+}
----------------------------------------------------------------------------------------------------------------------
.. contents::
GET /v1/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