v1
latestOpenAPI 3.0.02026-08-04122577.8 KBdatafiles
Re-upload an existing data file or update an existing folder.
put/api/v1/data-files/{id}
Path parameters
idstring uuid required
The ID of the data file to update.
Response
The file or folder was updated.
Example response
{
"id": "ee6a390c-5d33-11e8-9c2d-fa7ae01bbebc",
"qri": "qri:qdf:space://ooSOGoLLaq7EMaSdSsCiGvLwcd_VAf1oU0mzwSfp_Qs#wME89c8gKu_Tpz8W_a0JKSbKC4hzbNu0NLVgqi2UFS0",
"name": "some/folder/MyFile.csv",
"size": 1024,
"appId": "f34b91a1-0dc3-44ac-a847-51cb84122c84",
"folder": true,
"actions": [
"Read"
],
"ownerId": "lDL4DIINndhL_iJkcbqWyJenuwizP-2D",
"spaceId": "617979737a9f56e49dea2e6e",
"baseName": "MyFile.csv",
"folderId": "ee6a390c-5d33-11e8-9c2d-fa7ae01bbebc",
"folderPath": "some/folder",
"createdDate": "2020-07-07T20:52:40.8534780Z",
"folderStats": {
"totalFileCount": 50,
"directFileCount": 50,
"totalFolderCount": 50,
"aggregateFileSize": 10000,
"directFolderCount": 50,
"totalInternalFileCount": 50,
"directInternalFileCount": 50,
"totalAppScopedFileCount": 50,
"directAppScopedFileCount": 50,
"aggregateInternalFileSize": 10000,
"aggregateAppScopedFileSize": 10000
},
"modifiedDate": "2020-07-07T20:52:40.8534780Z",
"contentUpdatedDate": "2020-07-07T20:52:40.8534780Z"
}