Version

A stored file version. Release versions are hydrated from file_version records, so fields without a producer on that path are served as null rather than filled with placeholder data.

FieldTypeDescription
idID!
entityIdIDIdentifier of the versioned entity (the file id for release versions).
entityTypeStringRaw entity taxonomy reported by the producer, for example page.
pathStringPath of the versioned file.
versionIntVersion sequence number when the producer records one. File-version snapshots have no numeric sequence and return null.
createdAtDateTimeRFC3339 timestamp of when the version was recorded.
createdByIDAccount that recorded the version (file_version.created_by). This is not a deployment userId.
dataJSONProducer payload for the version, including the file body and metadata.
dateStringRFC3339 creation timestamp. Alias of createdAt.
typeVersionTypeentityType projected onto the served taxonomy, or null when it has no token.
cacheKeyStringCache key. No producer on the release-version path; always null.
slugStringSlug. No producer on the release-version path; always null.
nameStringDisplay name. No producer on the release-version path; always null.
bodyStringFile body, taken from data.body when the producer supplies one.
userVersionUserAuthor record. No producer on the release-version path; always null - only createdBy is known.

All GraphQL types · Operations