Show examples in:
Javascript HTTP

Content Management API > Record version

Record version

Every change to a record is stored as a separate record version in DatoCMS.

Object payload

id string

RFC 4122 UUID of redord version expressed in URL-safe base64 format

Example: "59JSonvYTCOUDz_b7_6hvA"
type string

Must be exactly "item_version".

meta.created_at date-time

Date of record version creation

meta.is_published boolean

Whether the record version is the published version or not

meta.is_current boolean

Whether the record version is the most recent version or not

relationships.item_type.data

The record version's model

relationships.item.data

The record this version belongs to

relationships.editor.data

The entity (account/collaborator/access token/sso user) who made this change to the record

meta.is_valid boolean Deprecated

Whether the record version is valid or not

Validity of a version can only be established in the context of all the current or published item's versions (think about uniqueness validations, for example): use item's is_current_version_valid or is_published_version_valid fields instead.

Available endpoints