Skip to content

Collection

Properties

NAME TYPE DESCRIPTION
$id
string

Collection ID.

$createdAt
integer

Collection creation date in Unix timestamp.

$updatedAt
integer

Collection update date in Unix timestamp.

$read
array

Collection read permissions.

$write
array

Collection write permissions.

databaseId
string

Database ID.

name
string

Collection name.

enabled
boolean

Collection enabled.

permission
string

Collection permission model. Possible values: document or collection

attributes
array
indexes
array

Collection indexes.

Can be one of:

Index model

Example