2016-04-18 14:58:06 +00:00
|
|
|
/v2/compute/projects/{project_id}/files/{path:.+}
|
|
|
|
------------------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
.. contents::
|
|
|
|
|
|
|
|
GET /v2/compute/projects/**{project_id}**/files/**{path:.+}**
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
2016-06-04 08:40:39 +00:00
|
|
|
Get a file from a project
|
2016-04-18 14:58:06 +00:00
|
|
|
|
|
|
|
Parameters
|
|
|
|
**********
|
2016-06-04 08:40:39 +00:00
|
|
|
- **project_id**: Project UUID
|
2016-04-18 14:58:06 +00:00
|
|
|
|
|
|
|
Response status codes
|
|
|
|
**********************
|
2016-06-04 08:40:39 +00:00
|
|
|
- **200**: File returned
|
2016-04-18 14:58:06 +00:00
|
|
|
- **403**: Permission denied
|
|
|
|
- **404**: The file doesn't exist
|
|
|
|
|
|
|
|
|
|
|
|
POST /v2/compute/projects/**{project_id}**/files/**{path:.+}**
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
2016-06-04 08:40:39 +00:00
|
|
|
Write a file to a project
|
2016-04-18 14:58:06 +00:00
|
|
|
|
|
|
|
Parameters
|
|
|
|
**********
|
2016-06-04 08:40:39 +00:00
|
|
|
- **project_id**: Project UUID
|
2016-04-18 14:58:06 +00:00
|
|
|
|
|
|
|
Response status codes
|
|
|
|
**********************
|
2016-06-04 08:40:39 +00:00
|
|
|
- **200**: File returned
|
2016-04-18 14:58:06 +00:00
|
|
|
- **403**: Permission denied
|
|
|
|
- **404**: The path doesn't exist
|
|
|
|
|