Zum Hauptinhalt springen

objects

Module: objects

Generic JSON data objects with entity typing.

NameTypeNullableDefault ValueNotes
PKID
integerObject ID
fork
forks.ID
integerFork ID (`null` for base module)
owneruser
users.ID
integerOwner user ID (PUBLIC if `owneruser`=`null` and `ownergroup`=`null`)
ownergroup
groups.ID
integerOwner group ID (PUBLIC if `owneruser`=`null` and `ownergroup`=`null`)
creator
integerCreator user ID (defaults to authenticated user on creation)
assigneduser
users.ID
integerAssigned user ID
creationdate
bigintdate_part('epoch', now())Creation date and time as a Unix timestamp (defaults to current date and time on creation)
lastmodified
bigintdate_part('epoch', now())Last modification date and time as a Unix timestamp (auto-reset on modification)
binfile
binfiles.ID
integerBinary file ID; is read-only (not for `PUT` or `PATCH`)
visibility
smallint0Visibility (`0`=REGULAR, `1`=ARCHIVED, `2`=DELETED)
name
textName
entity
textCustom entity
date
bigintEXTRACT(epoch FROM now())Designated date and time as a Unix timestamp (defaults to current date and time on creation)
description
text''Detailed general description
data
jsonJSON-encoded object data (array or object)
NameUniqueNulls DistinctPrimaryPartialMethodKeys
fk_objects_assigneduserginassigneduser
fk_objects_binfilebtreebinfile
fk_objects_forkginfork
fk_objects_ownergroupginownergroup
fk_objects_owneruserginowneruser
i_objects_datebtreedate
i_objects_entityginentity
i_objects_noforkginfork
i_objects_noownerginownergroup
pk_objectsbtreeID
s_objects_nameginname
NameType
c_objects_ownercheck
dc_objects_datacheck
dc_objects_descriptioncheck
dc_objects_entitycheck
dc_objects_namecheck
dc_objects_visibilitycheck
fk_objects_assigneduserforeign_key
fk_objects_binfileforeign_key
fk_objects_forkforeign_key
fk_objects_ownergroupforeign_key
fk_objects_owneruserforeign_key
pk_objectsprimary_key
Loading...