RelationPropertySpec

Properties

Link copied to clipboard
abstract val databaseId: UuidString

The database this relation refers to. New linked pages must belong to this database in order to be valid.

Link copied to clipboard
abstract val id: String

The ID of the property, usually a short string of random letters and symbols. Some automatically generated property types have special human-readable IDs. For example, all Title properties have an ID of title.

Link copied to clipboard
abstract val name: String

The name of the property as it appears in Notion.

Link copied to clipboard
abstract val syncedPropertyId: String

By default, relations are formed as two synced properties across databases: if you make a change to one property, it updates the synced property at the same time. syncedPropertyId refers to the id of the property in the related database. Like PropertySpec.id, this is usually a short string of random letters and symbols.

Link copied to clipboard

By default, relations are formed as two synced properties across databases: if you make a change to one property, it updates the synced property at the same time. syncedPropertyName refers to the name of the property in the related database.