RecordGet
Provides access to various fields and related data for the Record, such as state, derivations, previews, views, overlays, and revisions. The availability of certain fields depends on schema configuration and other factors. This type supports querying detailed information, with options for filtering and retrieving specific aspects of the metadata and associated content.
1type RecordGet {2State: RecordEntry3now: Long!4Preview(5id: UUID!6): RecordPreview7View(8of: RecordViewsInput!9): RecordViews10Revision(11offset: Long12limit: Int13type: RevisionType14): Record__RevisionResult15}
Fields
State ● RecordEntry interface common
Allows access to the various fields for the given Record, including globals. Note that any configured GCASchemaSettings#fieldFilter settings might affect which fields appear here.
now ● Long! non-null scalar common
Gets the current database time. This value can be used as input to save mutations via the lastRead argument as a safeguard against accidentally overwriting data with stale content.
Preview ● RecordPreview object common
Allows access to a Record's Previews, including preview of the record itself, the preview metadata, and preview of any associated views.
id ● UUID! non-null scalar common
View ● RecordViews union common
Allows access to a Record's compatible Views.
of ● RecordViewsInput! non-null input common
Revision ● Record__RevisionResult object common
Allows access to a Record's Revisions, such as History, WorkflowLog, etc.
offset ● Long scalar common
Allows for specifying the pagination offset for the Query result.
limit ● Int scalar common
Allows for specifying the pagination limit for the Query result.
type ● RevisionType enum common
Member Of
GetEntryobject