action appwrite_storage_update_file { label: "Update File" description: "Update a file by its unique ID. Only users with write permissions have access to update this resource." provider: appwrite method: PUT path: "/storage/files/{fileId}" encoding: json input: { type: "object" properties: { fileId: { type: "string" } read: { type: "array" description: "An array of strings with read permissions. By default no user is granted with any read permissions. [learn more about permissions](/docs/permissions) and get a full list of available permissions." items: { type: "string" } } write: { type: "array" description: "An array of strings with write permissions. By default no user is granted with any write permissions. [learn more about permissions](/docs/permissions) and get a full list of available permissions." items: { type: "string" } } } required: ["fileId", "read", "write"] additionalProperties: false } output: { type: "object" description: "File" required: ["$id", "$permissions", "dateCreated", "mimeType", "name", "signature", "sizeOriginal"] properties: { "$id": { type: "string" description: "File ID." } "$permissions": { type: "object" description: "File permissions." items: { type: "object" description: "Permissions" required: ["read", "write"] properties: { read: { type: "array" description: "Read permissions." items: { type: "string" } } write: { type: "array" description: "Write permissions." items: { type: "string" } } } } } dateCreated: { type: "integer" format: "int32" description: "File creation date in Unix timestamp." } mimeType: { type: "string" description: "File mime type." } name: { type: "string" description: "File name." } signature: { type: "string" description: "File MD5 signature." } sizeOriginal: { type: "integer" format: "int32" description: "File original size in bytes." } } } }