OBJECT

Revision

Revision of blocks on PLC

link GraphQL Schema definition

  • type Revision {
  • # Revision ID
  • id: ID!
  • # Ordinal
  • ordinal: Int!
  • # The first time the revision was seen
  • firstSeen: Time!
  • # The last time the revision was seen
  • lastSeen: Time!
  • # Whether this revision is the base revision of the asset
  • isBase: Boolean!
  • # Revision snapshots
  • #
  • # Arguments
  • # after: Returns the items in the list that come after the
  • # specified cursor.
  • # first: Returns the first n items from the list.
  • # before: Returns the items in the list that come before the
  • # specified cursor.
  • # last: Returns the last n items from the list.
  • revisionSnapshots(
  • after: String,
  • first: Int,
  • before: String,
  • last: Int
  • ): SnapshotConnection!
  • # PLC blocks
  • blocks: JSON!
  • # PLC blocks (same as 'blocks', but GraphQL typed)
  • blocksTyped: BlockTreeNode!
  • # Diff to base revision
  • diffToBase: JSON!
  • # Diff to base revision (same as 'diffToBase', but GraphQL typed)
  • diffToBaseTyped: BlockTreeNode!
  • # Diff to previous revision
  • diffToPrev: JSON!
  • # Diff to previous revision (same as 'diffToPrev', but GraphQL typed)
  • diffToPrevTyped: BlockTreeNode!
  • }