Announcing the Appwrite OSS Fund, Learn More! 🤑
Docs

Document Object

Properties

Name Type Description
$id string

Document ID.

$collection string

Collection ID.

$read string[]

Document read permissions.

$write string[]

Document write permissions.

Examples

JSON

{
    "$id": "5e5ea5c16897e",
    "$collection": "5e5ea5c15117e",
    "$read": [
        "role:all"
    ],
    "$write": [
        "user:608f9da25e7e1"
    ]
}