Announcing the Appwrite OSS Fund, Learn More! 🤑
Docs

File Object

Properties

Name Type Description
$id string

File ID.

bucketId string

Bucket ID.

$read string[]

File read permissions.

$write string[]

File write permissions.

name string

File name.

dateCreated integer

File creation date in Unix timestamp.

signature string

File MD5 signature.

mimeType string

File mime type.

sizeOriginal integer

File original size in bytes.

chunksTotal integer

Total number of chunks available

chunksUploaded integer

Total number of chunks uploaded

Examples

JSON

{
    "$id": "5e5ea5c16897e",
    "bucketId": "5e5ea5c16897e",
    "$read": [
        "role:all"
    ],
    "$write": [
        "user:608f9da25e7e1"
    ],
    "name": "Pink.png",
    "dateCreated": 1592981250,
    "signature": "5d529fd02b544198ae075bd57c1762bb",
    "mimeType": "image\/png",
    "sizeOriginal": 17890,
    "chunksTotal": 17890,
    "chunksUploaded": 17890
}