Update file metadata and/or its content.
Replace file with new file
1. Use a `blob` parameter to set blob fields
2. Update a file content to new
new to 1
in the blob to update the file content.3. As a result, the file is replaced with a new one.
Update file name
1. Use a `blob` parameter to set blob fields
2. Set a new file name
name
in the blob.3. As a result, the API returns a file with an updated name.
new=1
parameter. Once set, the file is deleted in the cloud storage and a new record is created. Consequently,
all file fields, except for the name
, are updated in the cloud storage including the uid
, size
, etc.