We're having lots of fun on Discord! Come and join us! 💬
Docs

File Object

Properties

Name Type Description
$id string

File 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.

Examples

JSON

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