action appwrite_storage_list_files { label: "List Files" description: "Get a list of all the user files. You can use the query params to filter your results. On admin mode, this endpoint will return a list of all of the project's files. [Learn more about different API modes](/docs/admin)." provider: appwrite method: GET path: "/storage/files" encoding: json input: { type: "object" properties: { limit: { type: "integer" format: "int32" } offset: { type: "integer" format: "int32" } orderType: { type: "string" } search: { type: "string" } } additionalProperties: false } output: { type: "object" description: "Files List" required: ["files", "sum"] properties: { files: { type: "array" description: "List of files." items: { type: "object" description: "File" required: ["$id", "$permissions", "name", "dateCreated", "signature", "mimeType", "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." } } } } sum: { type: "integer" format: "int32" description: "Total sum of items in the list." } } } }