Skip to main content

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.

1
type RecordGet {
2
State: RecordEntry
3
now: Long!
4
Preview(
5
id: UUID!
6
): RecordPreview
7
View(
8
of: RecordViewsInput!
9
): RecordViews
10
Revision(
11
offset: Long
12
limit: Int
13
type: RevisionType
14
): Record__RevisionResult
15
}

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​

Was this page helpful?

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.